aboutsummaryrefslogtreecommitdiffstats
path: root/Readme.md
diff options
context:
space:
mode:
authorFlorian Fischer <florian.fl.fischer@fau.de>2020-08-26 19:11:14 +0200
committerFlorian Fischer <florian.fl.fischer@fau.de>2020-08-26 19:11:14 +0200
commitebdd1360935b8c27eae6929042b0386af3e2e43b (patch)
tree12cb3cb2df08bea8c69c8385ceabfc568477584f /Readme.md
parent70128494d0c60a8096cea856a536ce69ed05ed77 (diff)
downloadvis-spellcheck-ebdd1360935b8c27eae6929042b0386af3e2e43b.tar.gz
add the option 'disable_syntax_awareness' to always check the full viewport
Diffstat (limited to 'Readme.md')
-rw-r--r--Readme.md2
1 files changed, 2 insertions, 0 deletions
diff --git a/Readme.md b/Readme.md
index 2f41b91..dd18c64 100644
--- a/Readme.md
+++ b/Readme.md
@@ -29,6 +29,8 @@ The module table returned from `require(...)` has some configuration options:
* default: `fore:red`
* `check_tokens`: A table mapping all token names we consider for spellchecking to true
* default: `{[vis.lexers.STRING]=true, [vis.lexers.COMMENT]=true}`
+* `disable_syntax_awareness`: Disable the syntax aware spellchecking and use always _full viewport_
+ * default: `false`
A possible configuration could look like this: