diff options
author | Florian Fischer <florian.fischer@muhq.space> | 2021-10-07 16:30:22 +0200 |
---|---|---|
committer | Florian Fischer <florian.fischer@muhq.space> | 2021-10-07 16:30:22 +0200 |
commit | 1538883ba5a1ff1c442abe9881f0fd716d1ae7ad (patch) | |
tree | 32677145a229bf49b2a6dd94d0f1769c48a375e5 | |
parent | ab9391b4cacf22473408e7d5eba8ace4f5fefda4 (diff) | |
download | vis-spellcheck-1538883ba5a1ff1c442abe9881f0fd716d1ae7ad.tar.gz |
[Readme] update Readme to reflect the file language changes
-rw-r--r-- | Readme.md | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -21,9 +21,9 @@ 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` -* `list_cmd`: cmd that is passed to popen() and must output a list of misspelled words. +* `list_cmd`: cmd that is passed to `popen()` and must output a list of misspelled words. * default: `enchant -l -d %s` -* `lang`: The name of the used dictionary. `lang` is inserted in the cmd-strings at `%s`. +* `default_lang`: The name of the used dictionary if the opened file does not specify one. The selected language is inserted in the cmd-strings at `%s`. * default: `$LANG` or `en_US` * `typo_style`: The style string with which misspellings should be highlighted when using the _full viewport_ method * default: `fore:red` @@ -37,7 +37,7 @@ A possible configuration could look like this: spellcheck = require(...) spellcheck.cmd = "aspell -l %s -a" spellcheck.list_cmd = "aspell list -l %s -a" - spellcheck.lang = "de_DE" + spellcheck.default_lang = "de_DE" Changing language during runtime: |