aboutsummaryrefslogtreecommitdiffstats
path: root/spellcheck.lua
diff options
context:
space:
mode:
authorFlorian Fischer <florian.fl.fischer@fau.de>2019-01-28 05:11:19 +0100
committerFlorian Fischer <florian.fl.fischer@fau.de>2019-01-28 05:11:19 +0100
commitdcfdb309b89b88608346365e19b74900e002b6b9 (patch)
treedfaca21244b81287bfa97d3dcd24f58a9a4df2e6 /spellcheck.lua
parent44a9d7b04f9fb752c67a084ebdfa8c97b65a9894 (diff)
downloadvis-spellcheck-dcfdb309b89b88608346365e19b74900e002b6b9.tar.gz
spellcheck :)
Diffstat (limited to 'spellcheck.lua')
-rw-r--r--spellcheck.lua6
1 files changed, 3 insertions, 3 deletions
diff --git a/spellcheck.lua b/spellcheck.lua
index 4bb06e4..e18e012 100644
--- a/spellcheck.lua
+++ b/spellcheck.lua
@@ -124,7 +124,7 @@ vis:map(vis.modes.NORMAL, "<C-w>w", function(keys)
win:draw()
return 0
-end, "Correct missspelled word")
+end, "Correct misspelled word")
vis:map(vis.modes.NORMAL, "<C-w>i", function(keys)
local win = vis.win
@@ -139,9 +139,9 @@ vis:map(vis.modes.NORMAL, "<C-w>i", function(keys)
win:draw()
return 0
-end, "Ignore missspelled word")
+end, "Ignore misspelled word")
-vis:option_register("spelllang", "string", function(value, toogle)
+vis:option_register("spelllang", "string", function(value, toggle)
spellcheck.lang = value
vis:info("Spellchecking language is now "..value)
-- force new highlight