Commit: runtime(doc): remove incorrect note about spellcapcheck and the first word

Christian Brabandt <[email protected]>
Newsgroups gmane.editors.vim.devel
Message-ID <[email protected]>
runtime(doc): remove incorrect note about spellcapcheck and the first word

Commit: https://github.com/vim/vim/commit/e2d3e7818b0f408ad25ff97b86d6179c303c98d7
Author: Christian Brabandt <[email protected]>
Date:   Sat Jul 25 16:27:18 2026 +0000

    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: #20715
    
    Signed-off-by: Christian Brabandt <[email protected]>

diff --git a/runtime/doc/spell.txt b/runtime/doc/spell.txt
index 774f0777c..df8f4e9c8 100644
--- a/runtime/doc/spell.txt
+++ b/runtime/doc/spell.txt
@@ -1,4 +1,4 @@
-*spell.txt*	For Vim version 9.2.  Last change: 2026 May 23
+*spell.txt*	For Vim version 9.2.  Last change: 2026 Jul 25
 
 
 		  VIM REFERENCE MANUAL	  by Bram Moolenaar
@@ -221,10 +221,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

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups "vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
To view this discussion visit https://groups.google.com/d/msgid/vim_dev/E1wnfUl-00DXVu-Qe%40256bit.org.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.