neovim

Neovim text editor
git clone https://git.dasho.dev/neovim.git
Log | Files | Refs | README

commit 4ad4225bdbe8f9f6395691ecd0041af8570e2420
parent c1330816dc159b69cff9e149c2a06b328a91860c
Author: zeertzjq <zeertzjq@outlook.com>
Date:   Wed, 23 Oct 2024 07:32:43 +0800

vim-patch:19be0eb: runtime(doc): :ownsyntax also resets 'spelloptions'

closes: vim/vim#15919

https://github.com/vim/vim/commit/19be0eb7f0c5877fef927a22457fdd7b3ec0ea9b

Diffstat:
Mruntime/doc/syntax.txt | 3++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git 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,