From 9f30c87b5b687118f4e0c88249ca08ebad2f3003 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mat=C4=9Bj=20Cepl?= Date: Mon, 24 Feb 2025 18:59:10 +0100 Subject: feat: automatically enable spellchecking through local setting When the local setting spellcheck.spelling_autoenable is set to true and spelling is available (via `spelling_language` setting in .editorconfig), vis will automatically enable spellchecker without any additional user action. References: https://github.com/editorconfig/specification/pull/41 --- Readme.md | 3 +++ 1 file changed, 3 insertions(+) (limited to 'Readme.md') diff --git a/Readme.md b/Readme.md index f0c2865..e91b532 100644 --- a/Readme.md +++ b/Readme.md @@ -26,6 +26,9 @@ The module table returned from `require(...)` has some configuration options: * default: `enchant -l -d %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` +* `spelling_autoenable`: Enable automatic enabling of spellchecker when spelling is available + (via `spelling_language` setting in .editorconfig) without any additional user action. + * default: `false` * `typo_style`: The style string with which misspellings should be highlighted when using the _full viewport_ method * default: `fore:red` * `check_tokens`: A table mapping all token names we consider for spellchecking to true -- cgit v1.2.3