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

433d2ab206

Co-authored-by: Doug Kearns <dougkearns@gmail.com>
This commit is contained in:
zeertzjq
2025-11-10 07:59:28 +08:00
parent 76fdd9b882
commit 82910ddbfb

View File

@@ -304,7 +304,7 @@ syn match vimDebuggreedy "\<0\=debugg\%[reedy]\>" contains=vimCount
" Defer {{{2 " Defer {{{2
" ===== " =====
syn match vimDefer "\<defer\=\>" skipwhite nextgroup=@vimFunc syn match vimDefer "\<defer\=\>" skipwhite nextgroup=@vimFunc,vim9LambdaParams
" Exception Handling {{{2 " Exception Handling {{{2
syn keyword vimThrow th[row] skipwhite nextgroup=@vimExprList syn keyword vimThrow th[row] skipwhite nextgroup=@vimExprList