From dcfdb309b89b88608346365e19b74900e002b6b9 Mon Sep 17 00:00:00 2001 From: Florian Fischer Date: Mon, 28 Jan 2019 05:11:19 +0100 Subject: spellcheck :) --- spellcheck.lua | 6 +++--- 1 file 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, "w", function(keys) win:draw() return 0 -end, "Correct missspelled word") +end, "Correct misspelled word") vis:map(vis.modes.NORMAL, "i", function(keys) local win = vis.win @@ -139,9 +139,9 @@ vis:map(vis.modes.NORMAL, "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 -- cgit v1.2.3