neovim

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

commit 3606b74d248269bcdc90fe83887f86cff23f6ba9
parent 8cf7a0c4de0b405c72e57bfed76f6699ed2b6ab3
Author: zeertzjq <zeertzjq@outlook.com>
Date:   Wed, 12 Nov 2025 08:23:35 +0800

vim-patch:f85951f: runtime(css): improve cssBoxProp matches (#36528)

closes: vim/vim#18717

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

Co-authored-by: Neil Lambert <nlambert@pm.me>
Diffstat:
Mruntime/syntax/css.vim | 3++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/runtime/syntax/css.vim b/runtime/syntax/css.vim @@ -8,6 +8,7 @@ " URL: https://github.com/vim-language-dept/css-syntax.vim " Maintainer: Jay Sitter <jay@jaysitter.com> " Last Change: 2024 Mar 2 +" 2025 Nov 11: improve support for cssBoxProperties #18717 " quit when a syntax file was already loaded if !exists("main_syntax") @@ -197,7 +198,7 @@ syn keyword cssBorderAttr contained clone slice syn match cssBoxProp contained "\<padding\(-\(top\|right\|bottom\|left\)\)\=\>" syn match cssBoxProp contained "\<margin\(-\(top\|right\|bottom\|left\)\)\=\>" -syn match cssBoxProp contained "\<\(margin\|padding\)\(-\(inline\|block\)\(-\(start\|end\)\)\)\=\>" +syn match cssBoxProp contained "\<\(margin\|padding\)\(-\(inline\|block\)\(-\(start\|end\)\)\=\)\=\>" syn match cssBoxProp contained "\<overflow\(-\(x\|y\|style\)\)\=\>" syn match cssBoxProp contained "\<rotation\(-point\)\=\>" syn keyword cssBoxAttr contained visible hidden scroll auto