Skip to content

Commit

Permalink
Disable automatic call to flyspell-buffer
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
StreakyCobra authored and syl20bnr committed Nov 3, 2015
1 parent eafec19 commit 02fb2bd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions layers/spell-checking/README.org
Original file line number Diff line number Diff line change
Expand Up @@ -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 |
Expand Down
1 change: 1 addition & 0 deletions layers/spell-checking/packages.el
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 02fb2bd

Please sign in to comment.