diff options
author | zeertzjq <zeertzjq@outlook.com> | 2024-10-23 07:32:43 +0800 |
---|---|---|
committer | zeertzjq <zeertzjq@outlook.com> | 2024-10-23 07:38:11 +0800 |
commit | 4ad4225bdbe8f9f6395691ecd0041af8570e2420 (patch) | |
tree | 103b7b2512fc79936ca1a567837695214f0abadd | |
parent | c1330816dc159b69cff9e149c2a06b328a91860c (diff) | |
download | rneovim-4ad4225bdbe8f9f6395691ecd0041af8570e2420.tar.gz rneovim-4ad4225bdbe8f9f6395691ecd0041af8570e2420.tar.bz2 rneovim-4ad4225bdbe8f9f6395691ecd0041af8570e2420.zip |
vim-patch:19be0eb: runtime(doc): :ownsyntax also resets 'spelloptions'
closes: vim/vim#15919
https://github.com/vim/vim/commit/19be0eb7f0c5877fef927a22457fdd7b3ec0ea9b
-rw-r--r-- | runtime/doc/syntax.txt | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/runtime/doc/syntax.txt b/runtime/doc/syntax.txt index 3cb96226da..c032a8c20d 100644 --- a/runtime/doc/syntax.txt +++ b/runtime/doc/syntax.txt @@ -5472,7 +5472,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, |