From 362b44bd4aa87a2aef0f8fd5a28d68dd09a7d909 Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Wed, 10 Jun 2020 21:47:00 +0200 Subject: patch 8.2.0953: spell checking doesn't work for CamelCased words Problem: Spell checking doesn't work for CamelCased words. Solution: Add the "camel" value in the new option 'spelloptions'. (closes #1235) --- runtime/doc/spell.txt | 3 +++ 1 file changed, 3 insertions(+) (limited to 'runtime/doc/spell.txt') diff --git a/runtime/doc/spell.txt b/runtime/doc/spell.txt index d4f542d3e..3f8302b7c 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 -- cgit v1.2.1