comparison runtime/doc/spell.txt @ 20802:ed00f0fbdaef v8.2.0953

patch 8.2.0953: spell checking doesn't work for CamelCased words Commit: https://github.com/vim/vim/commit/362b44bd4aa87a2aef0f8fd5a28d68dd09a7d909 Author: Bram Moolenaar <Bram@vim.org> Date: Wed Jun 10 21:47:00 2020 +0200 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)
author Bram Moolenaar <Bram@vim.org>
date Wed, 10 Jun 2020 22:00:04 +0200
parents 9b7f90e56753
children 83cfa1ef1bf2
comparison
equal deleted inserted replaced
20801:f69512e0cedc 20802:ed00f0fbdaef
212 The 'spellcapcheck' option is used to check the first word of a sentence 212 The 'spellcapcheck' option is used to check the first word of a sentence
213 starts with a capital. This doesn't work for the first word in the file. 213 starts with a capital. This doesn't work for the first word in the file.
214 When there is a line break right after a sentence the highlighting of the next 214 When there is a line break right after a sentence the highlighting of the next
215 line may be postponed. Use |CTRL-L| when needed. Also see |set-spc-auto| for 215 line may be postponed. Use |CTRL-L| when needed. Also see |set-spc-auto| for
216 how it can be set automatically when 'spelllang' is set. 216 how it can be set automatically when 'spelllang' is set.
217
218 The 'spelloptions' option has a few more flags that influence the way spell
219 checking works.
217 220
218 Vim counts the number of times a good word is encountered. This is used to 221 Vim counts the number of times a good word is encountered. This is used to
219 sort the suggestions: words that have been seen before get a small bonus, 222 sort the suggestions: words that have been seen before get a small bonus,
220 words that have been seen often get a bigger bonus. The COMMON item in the 223 words that have been seen often get a bigger bonus. The COMMON item in the
221 affix file can be used to define common words, so that this mechanism also 224 affix file can be used to define common words, so that this mechanism also