mirror of
https://github.com/neovim/neovim.git
synced 2026-07-31 04:39:07 +00:00
vim-patch:e2d3e78: runtime(doc): remove incorrect note about spellcapcheck and the first word
'spellcapcheck' checks the first word in the file for a capital like any
sentence start: capcol is seeded to 0 for line 1 in spell_check_sblock().
This has been the case since the feature was added in v7.0100, so the note
that it "doesn't work for the first word in the file" is incorrect.
related: f9184a1d3151b5b727fec86c2ac0946c9c68df4d (code change)
related: 0d9c26dd8333aae4b20015f13fe2e8e1f07037bd (initial doc patch,
just a few minutes later)
related: vim/vim#20715
e2d3e7818b
Co-authored-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
@@ -210,10 +210,10 @@ The 'spellsuggest' option influences how the list of suggestions is generated
|
||||
and sorted. See 'spellsuggest'.
|
||||
|
||||
The 'spellcapcheck' option is used to check the first word of a sentence
|
||||
starts with a capital. This doesn't work for the first word in the file.
|
||||
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.
|
||||
starts with a capital. 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. For example, "camel" splits CamelCased words so that each
|
||||
|
||||
Reference in New Issue
Block a user