aboutsummaryrefslogtreecommitdiff
path: root/Readme.md
diff options
context:
space:
mode:
authorFlorian Fischer <florian.fl.fischer@fau.de>2020-08-25 15:31:04 +0200
committerFlorian Fischer <florian.fl.fischer@fau.de>2020-08-25 15:31:04 +0200
commit9fdc3215ffb07a89c053062bf1dc29f5c046db2d (patch)
tree51d79b1ec43b8b7093cd79aca1dd756dc1ba887d /Readme.md
parent8cc0d0f3e1b30ae59c2b6d4a297318865e07c883 (diff)
downloadvis-spellcheck-9fdc3215ffb07a89c053062bf1dc29f5c046db2d.tar.gz
vis-spellcheck-9fdc3215ffb07a89c053062bf1dc29f5c046db2d.zip
make the style of typo highlights configurable
Diffstat (limited to 'Readme.md')
-rw-r--r--Readme.md4
1 files changed, 3 insertions, 1 deletions
diff --git a/Readme.md b/Readme.md
index d0d1029..87f27ec 100644
--- a/Readme.md
+++ b/Readme.md
@@ -16,7 +16,7 @@ A spellchecking lua plugin for the [vis editor](https://github.com/martanne/vis)
## configuration
-The module table returned from `require(...)` has three configuration options:
+The module table returned from `require(...)` has some configuration options:
* `cmd`: cmd that is passed to popen() and must return word corrections in Ispell format.
* default: `enchant -d %s`
@@ -24,6 +24,8 @@ The module table returned from `require(...)` has three configuration options:
* default: `enchant -l -d %s`
* `lang`: The name of the used dictionary. `lang` is inserted in the cmd-strings at `%s`.
* default: `$LANG` or `en_US`
+* `typo_style`: The style string with which misspellings should be highlighted
+ * default: `fore:red`
A possible configuration could look like this: