diff options
author | Florian Fischer <florian.fischer@muhq.space> | 2021-12-28 21:39:45 +0100 |
---|---|---|
committer | Florian Fischer <florian.fischer@muhq.space> | 2021-12-28 21:39:45 +0100 |
commit | 5904cdb7134bbfe7ce226e095fa9ed6c1784cbfa (patch) | |
tree | a92d425280d9d636980ecb1479bb553462ef557b | |
parent | 1538883ba5a1ff1c442abe9881f0fd716d1ae7ad (diff) | |
download | vis-spellcheck-5904cdb7134bbfe7ce226e095fa9ed6c1784cbfa.tar.gz |
make format
-rw-r--r-- | spellcheck.lua | 5 |
1 files 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 |