aboutsummaryrefslogtreecommitdiffstats
path: root/spellcheck.lua
diff options
context:
space:
mode:
Diffstat (limited to 'spellcheck.lua')
-rw-r--r--spellcheck.lua3
1 files changed, 3 insertions, 0 deletions
diff --git a/spellcheck.lua b/spellcheck.lua
index 3cbf619..0c3549d 100644
--- a/spellcheck.lua
+++ b/spellcheck.lua
@@ -331,6 +331,9 @@ vis:map(vis.modes.NORMAL, '<F7>', function()
end, 'Toggle spellchecking in the current window')
vis:map(vis.modes.NORMAL, '<C-w>w', function()
+ -- Turn on highlighting
+ enable_spellcheck()
+
local win = vis.win
local file = win.file
local pos = win.selection.pos