From 1934d819cd91fde686ec70a9580c96b5c9c4f1fa Mon Sep 17 00:00:00 2001 From: Florian Fischer Date: Sun, 3 Mar 2024 17:44:39 +0100 Subject: [vis] use hunspell instead of enchant-2 Somehow enchant-2 suggestions became significantly worse. --- config/vis/visrc.lua | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'config') diff --git a/config/vis/visrc.lua b/config/vis/visrc.lua index 20a9a9f..de12509 100644 --- a/config/vis/visrc.lua +++ b/config/vis/visrc.lua @@ -7,7 +7,10 @@ cursors.cursors_path = string.format('%s/vis/cursors', os.getenv('XDG_DATA_HOME') or os.getenv('HOME') .. "/.local/share") -require('plugins/vis-spellcheck') +local spellcheck = require('plugins/vis-spellcheck') +spellcheck.list_cmd = 'hunspell -l -d %s' +spellcheck.cmd = 'hunspell -d %s' + require('plugins/vis-commentary') require('plugins/vis-ctags') -- This hooks vis.events.START so its fine to load it before the default settings -- cgit v1.2.3