diff options
author | Florian Fischer <florian.fischer@muhq.space> | 2021-04-28 17:53:47 +0200 |
---|---|---|
committer | Florian Fischer <florian.fischer@muhq.space> | 2021-04-28 17:53:47 +0200 |
commit | 4bbe2df3a7c47f3736acac59090772cab83c8e61 (patch) | |
tree | 40219b9def5e416176f0e82436cfce5121ad1f21 | |
parent | 377ff0f4cb7015db52303d64fb4536fb94a67900 (diff) | |
download | vis-spellcheck-4bbe2df3a7c47f3736acac59090772cab83c8e61.tar.gz |
add warning if spellcheck is loaded but no supported spellchecker is installed
-rw-r--r-- | spellcheck.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/spellcheck.lua b/spellcheck.lua index 0926032..abc0f16 100644 --- a/spellcheck.lua +++ b/spellcheck.lua @@ -22,6 +22,7 @@ elseif os.execute('type hunspell' .. supress_output) then spellcheck.cmd = 'hunspell -d %s' spellcheck.list_cmd = 'hunspell -l -d %s' else + vis:info('WARNING: vis-spellcheck loaded but no spellchecker found') return nil end |