neovim

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

commit d96a685fae5035cb91aa2709f823740bfccb899e
parent 558de3d9adc3b2ea1403ef995ea46dfad6ca0bdd
Author: zeertzjq <zeertzjq@outlook.com>
Date:   Fri, 28 Mar 2025 07:21:52 +0800

vim-patch:f9f4e27: runtime(hyprlang): save and restore cpo setting in syntax script

fixes: vim/vim#16970
closes: vim/vim#16973

https://github.com/vim/vim/commit/f9f4e27ad76ee36a5a49013a84a466800d26f360

Co-authored-by: Christian Brabandt <cb@256bit.org>

Diffstat:
Mruntime/syntax/hyprlang.vim | 7++++++-
1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/runtime/syntax/hyprlang.vim b/runtime/syntax/hyprlang.vim @@ -1,11 +1,14 @@ " Vim syntax file " Language: hyprlang " Maintainer: Luca Saccarola <github.e41mv@aleeas.com> -" Last Change: 2025 Jan 29 +" Last Change: 2025 Mar 26 if exists("b:current_syntax") finish endif +let s:cpo= &cpo +set cpo&vim + let b:current_syntax = "hyprlang" syn case ignore @@ -56,4 +59,6 @@ hi def link hyprString String hi def link hyprColor Structure hi def link hyprCommand Keyword +let &cpo = s:cpo +unlet s:cpo " vim: ts=8 sts=2 sw=2 et