From 4bbe2df3a7c47f3736acac59090772cab83c8e61 Mon Sep 17 00:00:00 2001 From: Florian Fischer Date: Wed, 28 Apr 2021 17:53:47 +0200 Subject: add warning if spellcheck is loaded but no supported spellchecker is installed --- spellcheck.lua | 1 + 1 file changed, 1 insertion(+) (limited to 'spellcheck.lua') 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 -- cgit v1.2.3