Skip to content

Commit 19be0eb

Browse files
zeertzjqchrisbra
authored andcommitted
runtime(doc): :ownsyntax also resets 'spelloptions'
closes: #15919 Signed-off-by: zeertzjq <zeertzjq@outlook.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
1 parent ceec864 commit 19be0eb

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

runtime/doc/syntax.txt

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*syntax.txt* For Vim version 9.1. Last change: 2024 Oct 20
1+
*syntax.txt* For Vim version 9.1. Last change: 2024 Oct 22
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -6142,7 +6142,8 @@ This will set the "w:current_syntax" variable to "foo". The value of
61426142
restoring "b:current_syntax", since the syntax files do set
61436143
"b:current_syntax". The value set by the syntax file is assigned to
61446144
"w:current_syntax".
6145-
Note: This resets the 'spell', 'spellcapcheck' and 'spellfile' options.
6145+
Note: This resets the 'spell', 'spellcapcheck', 'spellfile' and 'spelloptions'
6146+
options.
61466147

61476148
Once a window has its own syntax, syntax commands executed from other windows
61486149
on the same buffer (including :syntax clear) have no effect. Conversely,

0 commit comments

Comments
 (0)