diff options
author | Thomas Vigouroux <tomvig38@gmail.com> | 2020-09-24 09:10:52 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-09-24 09:10:52 +0200 |
commit | b9ceac4650a7d7b731828a4fb82b92d01e88752b (patch) | |
tree | 3727841c4d139c51313c6d6d74b9c2fd28bbce1c /runtime | |
parent | 4f8d98e583beb4c1abd5d57b9898548396633030 (diff) | |
parent | ca28cf5362c9f8cfcc60e28e20c2d455c5c37c77 (diff) | |
download | rneovim-b9ceac4650a7d7b731828a4fb82b92d01e88752b.tar.gz rneovim-b9ceac4650a7d7b731828a4fb82b92d01e88752b.tar.bz2 rneovim-b9ceac4650a7d7b731828a4fb82b92d01e88752b.zip |
Merge pull request #12955 from vigoux/vim-8.2.0953
[RFC] vim-patch:8.2.{0953,0955,0956,1678}
Diffstat (limited to 'runtime')
-rw-r--r-- | runtime/doc/options.txt | 8 | ||||
-rw-r--r-- | runtime/doc/spell.txt | 3 |
2 files changed, 11 insertions, 0 deletions
diff --git a/runtime/doc/options.txt b/runtime/doc/options.txt index 71c4620f1e..bd61d113fb 100644 --- a/runtime/doc/options.txt +++ b/runtime/doc/options.txt @@ -5672,6 +5672,14 @@ A jump table for the options with a short description can be found at |Q_op|. up to the first character that is not an ASCII letter or number and not a dash. Also see |set-spc-auto|. + *'spelloptions'* *'spo'* +'spelloptions' 'spo' string (default "") + local to buffer + A comma separated list of options for spell checking: + camel When a word is CamelCased, assume "Cased" is a + separate word: every upper-case character in a word + that comes after a lower case character indicates the + start of a new word. *'spellsuggest'* *'sps'* 'spellsuggest' 'sps' string (default "best") diff --git a/runtime/doc/spell.txt b/runtime/doc/spell.txt index b88e26cdff..8350d49c59 100644 --- a/runtime/doc/spell.txt +++ b/runtime/doc/spell.txt @@ -187,6 +187,9 @@ When there is a line break right after a sentence the highlighting of the next line may be postponed. Use |CTRL-L| when needed. Also see |set-spc-auto| for how it can be set automatically when 'spelllang' is set. +The 'spelloptions' option has a few more flags that influence the way spell +checking works. + Vim counts the number of times a good word is encountered. This is used to sort the suggestions: words that have been seen before get a small bonus, words that have been seen often get a bigger bonus. The COMMON item in the |