Disable automatic call to flyspell-buffer

Some users complained about slowness when opening files due to
spell-checking being activated. This commit revert to old behaviour
checking only the words under the cursor and not the whole buffer.
This commit is contained in:
Fabien Dubosson 2015-11-02 22:18:11 +01:00 committed by syl20bnr
parent eafec1989a
commit 02fb2bd3f4
2 changed files with 2 additions and 0 deletions

View file

@ -84,6 +84,7 @@ currently supported language:
| Key Binding | Description |
|-------------+--------------------------|
| ~SPC S b~ | flyspell whole buffer |
| ~SPC S c~ | flyspell correct |
| ~SPC S d~ | change dictionary |
| ~SPC S n~ | flyspell goto next error |

View file

@ -61,6 +61,7 @@
:evil-leader "tS")
(evil-leader/set-key
"Sb" 'flyspell-buffer
"Sd" 'spell-checking/change-dictionary
"Sn" 'flyspell-goto-next-error))
:config