From 82910ddbfbf178468357f18d91ecc36fa06a06c3 Mon Sep 17 00:00:00 2001 From: zeertzjq Date: Mon, 10 Nov 2025 07:59:28 +0800 Subject: [PATCH] vim-patch:433d2ab: runtime(vim): Update base syntax, match Vim9 lambda arg to :defer Support added in commit 21ef3c6e5972bbe8ab61195f98ccb85048b78985. See: vim/vim#18643 closes: vim/vim#18645 https://github.com/vim/vim/commit/433d2ab2066c0590e43f8396cd830a4ff62e8769 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 a688ed8933..3f0d2c9329 100644 --- a/runtime/syntax/vim.vim +++ b/runtime/syntax/vim.vim @@ -304,7 +304,7 @@ syn match vimDebuggreedy "\<0\=debugg\%[reedy]\>" contains=vimCount " Defer {{{2 " ===== -syn match vimDefer "\" skipwhite nextgroup=@vimFunc +syn match vimDefer "\" skipwhite nextgroup=@vimFunc,vim9LambdaParams " Exception Handling {{{2 syn keyword vimThrow th[row] skipwhite nextgroup=@vimExprList