summaryrefslogtreecommitdiffstats
path: root/runtime/doc/spell.txt
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2020-06-10 21:47:00 +0200
committerBram Moolenaar <Bram@vim.org>2020-06-10 21:47:00 +0200
commit362b44bd4aa87a2aef0f8fd5a28d68dd09a7d909 (patch)
treeb3fa3018fe6a580e84e61b69c13d35aa2c193c59 /runtime/doc/spell.txt
parentbe5ee8686a50acf07b823bd293f9c765e533d213 (diff)
patch 8.2.0953: spell checking doesn't work for CamelCased wordsv8.2.0953
Problem: Spell checking doesn't work for CamelCased words. Solution: Add the "camel" value in the new option 'spelloptions'. (closes #1235)
Diffstat (limited to 'runtime/doc/spell.txt')
-rw-r--r--runtime/doc/spell.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/runtime/doc/spell.txt b/runtime/doc/spell.txt
index d4f542d3ec..3f8302b7cc 100644
--- a/runtime/doc/spell.txt
+++ b/runtime/doc/spell.txt
@@ -215,6 +215,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