]> git.ipfire.org Git - thirdparty/vim.git/commitdiff
runtime(doc): :ownsyntax also resets 'spelloptions'
authorzeertzjq <zeertzjq@outlook.com>
Tue, 22 Oct 2024 19:36:45 +0000 (21:36 +0200)
committerChristian Brabandt <cb@256bit.org>
Tue, 22 Oct 2024 19:36:45 +0000 (21:36 +0200)
closes: #15919

Signed-off-by: zeertzjq <zeertzjq@outlook.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
runtime/doc/syntax.txt

index 496093d11ed906bf93a98f1d30ebb9d7378842b1..be62c43b8c653914671a92b56c0762671177aea4 100644 (file)
@@ -1,4 +1,4 @@
-*syntax.txt*   For Vim version 9.1.  Last change: 2024 Oct 20
+*syntax.txt*   For Vim version 9.1.  Last change: 2024 Oct 22
 
 
                  VIM REFERENCE MANUAL    by Bram Moolenaar
@@ -6142,7 +6142,8 @@ This will set the "w:current_syntax" variable to "foo".  The value of
 restoring "b:current_syntax", since the syntax files do set
 "b:current_syntax".  The value set by the syntax file is assigned to
 "w:current_syntax".
-Note: This resets the 'spell', 'spellcapcheck' and 'spellfile' options.
+Note: This resets the 'spell', 'spellcapcheck', 'spellfile' and 'spelloptions'
+options.
 
 Once a window has its own syntax, syntax commands executed from other windows
 on the same buffer (including :syntax clear) have no effect. Conversely,