]> git.ipfire.org Git - thirdparty/vim.git/commit
runtime(vim): Update syntax file (#13969)
authordkearns <dougkearns@gmail.com>
Sat, 3 Feb 2024 17:18:31 +0000 (04:18 +1100)
committerGitHub <noreply@github.com>
Sat, 3 Feb 2024 17:18:31 +0000 (18:18 +0100)
commit7c5aeaffa2bec8f16f36bd33a749a6e965d8ab30
tree316436b33ed07207cfff84d77757b8e00b91123c
parentcbb46b439888e10f87baaca504eafd191723c44b
runtime(vim): Update syntax file (#13969)

Improve string interpolation highlighting.

Use the vimSep group to highlight interpolation braces as vimOperParen
has no highlighting of its own and employs vimSep via matchgroup.

Add vimNumber to the interpolation group's contained list.

Signed-off-by: Doug Kearns <dougkearns@gmail.com>
Signed-off-by: thinca <thinca@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
runtime/syntax/testdir/dumps/vim_expr_00.dump
runtime/syntax/testdir/dumps/vim_expr_01.dump
runtime/syntax/testdir/dumps/vim_expr_99.dump
runtime/syntax/testdir/input/vim_expr.vim
runtime/syntax/vim.vim