From 5904cdb7134bbfe7ce226e095fa9ed6c1784cbfa Mon Sep 17 00:00:00 2001 From: Florian Fischer Date: Tue, 28 Dec 2021 21:39:45 +0100 Subject: make format --- spellcheck.lua | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/spellcheck.lua b/spellcheck.lua index 91acf31..3ff757e 100644 --- a/spellcheck.lua +++ b/spellcheck.lua @@ -7,7 +7,7 @@ else spellcheck.default_lang = 'en_US' end -spellcheck.get_lang = function () +spellcheck.get_lang = function() if vis.win.file.spell_language then return vis.win.file.spell_language else @@ -181,7 +181,8 @@ vis.events.subscribe(vis.events.WIN_HIGHLIGHT, function(win) end for _, start, finish in typo_iter(viewport_text, typos, ignored) do - win:style(spellcheck.typo_style_id, viewport.start + start - 1, viewport.start + finish - 1) + win:style(spellcheck.typo_style_id, viewport.start + start - 1, + viewport.start + finish - 1) end last_viewport = viewport_text -- cgit