aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--spellcheck.lua4
1 files changed, 2 insertions, 2 deletions
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.