From 78b85109338592c2bc89154278f2e961a14eee96 Mon Sep 17 00:00:00 2001 From: zeertzjq Date: Mon, 16 Sep 2024 06:57:16 +0800 Subject: [PATCH] vim-patch:4d427d4: runtime(vim): Update base-syntax, match Vim9 bool/null literal args to :if/:while/:return (#30391) Match Vim9 boolean and null literals in expression arguments of :if, :elseif, :while and :return. closes: vim/vim#15684 https://github.com/vim/vim/commit/4d427d4cab9c942d6871c50f714e18d7edcfe135 Co-authored-by: Doug Kearns --- runtime/syntax/vim.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/runtime/syntax/vim.vim b/runtime/syntax/vim.vim index 89577ffaae..bd3723e7bb 100644 --- a/runtime/syntax/vim.vim +++ b/runtime/syntax/vim.vim @@ -685,7 +685,7 @@ if !exists("g:vimsyn_noerror") && !exists("g:vimsyn_novimfunctionerror") syn match vimBufnrWarn /\\|\\|\\|\" skipwhite nextgroup=vimOper,vimOperParen,vimVar,vimFunc,vimNotation +syn match vimNotFunc "\\|\\|\\|\" skipwhite nextgroup=@vimExprList,vimNotation " Match: {{{2 " =====