From e23acde38af03a1610dacfb236dc7a2b303faac0 Mon Sep 17 00:00:00 2001 From: Florian Fischer Date: Thu, 27 Aug 2020 15:53:43 +0200 Subject: add vis.lexers.DEFAULT to the tokens we spellcheck This activates spellchecking for most "text focused" languages like latex or markdown. --- spellcheck.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'spellcheck.lua') diff --git a/spellcheck.lua b/spellcheck.lua index ebfe660..3d53d56 100644 --- a/spellcheck.lua +++ b/spellcheck.lua @@ -28,10 +28,10 @@ spellcheck.disable_syntax_awareness = false spellcheck.check_tokens = { [vis.lexers.STRING] = true, - [vis.lexers.COMMENT] = true + [vis.lexers.COMMENT] = true, + [vis.lexers.DEFAULT] = true, } - -- Return nil or a string of misspelled word in a specific file range or text -- by calling the spellchecker's list command. -- If given a range we will use vis:pipe to get our typos from the spellchecker. -- cgit v1.2.3