22" Language: Vim script
33" Maintainer: Hirohito Higashi <h.east.727 ATMARK gmail.com>
44" Doug Kearns <dougkearns@gmail.com>
5- " Last Change: 2025 Jul 11
5+ " Last Change: 2025 Jul 17
66" Former Maintainer: Charles E. Campbell
77
88" DO NOT CHANGE DIRECTLY.
@@ -544,14 +544,15 @@ syn region vimReturnType contained
544544syn match vimParamType contained " :\s " skipwhite skipnl nextgroup =@vimType contains =vimTypeSep
545545
546546syn match vimTypeSep contained " :\% (\s\|\n\)\@ =" skipwhite nextgroup =@vimType
547- syn keyword vimType contained any blob bool channel float job number string void
547+ syn keyword vimType contained blob bool channel float job number string void
548+ syn keyword vimTypeAny contained any
548549syn match vimType contained " \<\% (func\)\> "
549550syn region vimCompoundType contained matchgroup =vimType start =" \< func(" end =" )" nextgroup =vimTypeSep contains =@vim9Continue,@vimType transparent
550551syn region vimCompoundType contained matchgroup =vimType start =" \< tuple<" end =" >" contains =@vim9Continue,@vimType transparent
551552syn region vimCompoundType contained matchgroup =vimType start =" \<\% (list\| dict\) <" end =" >" contains =@vimType oneline transparent
552553syn match vimUserType contained " \<\% (\h\w *\.\) *\u\w *\> "
553554
554- syn cluster vimType contains =vimType,vimCompoundType,vimUserType
555+ syn cluster vimType contains =vimType,vimTypeAny, vimCompoundType,vimUserType
555556
556557" Classes, Enums And Interfaces: {{{2
557558" =============================
@@ -1063,7 +1064,8 @@ syn match vim9Variable contained "\<\h\w*\>" skipwhite nextgroup=vim9VariableTyp
10631064syn region vim9VariableList contained start =" \[ " end =" ]" contains =@vimContinue,@vimSpecialVar,vim9Variable skipwhite nextgroup =vimLetHeredoc
10641065
10651066syn match vim9VariableTypeSep contained " \S\@ 1<=:\% (\s\|\n\)\@ =" skipwhite nextgroup =@vim9VariableType
1066- syn keyword vim9VariableType contained any blob bool channel float job number string void skipwhite nextgroup =vimLetHeredoc
1067+ syn keyword vim9VariableType contained blob bool channel float job number string void skipwhite nextgroup =vimLetHeredoc
1068+ syn keyword vim9VariableTypeAny contained any skipwhite nextgroup =vimLetHeredoc
10671069syn match vim9VariableType contained " \<\% (func\)\> " skipwhite nextgroup =vimLetHeredoc
10681070syn region vim9VariableCompoundType contained
10691071 \ matchgroup= vim9VariableType
@@ -1089,7 +1091,7 @@ syn region vim9VariableCompoundType contained
10891091 \ transparent
10901092syn match vim9VariableUserType contained " \<\% (\h\w *\.\) *\u\w *\> " skipwhite nextgroup =vimLetHeredoc
10911093
1092- syn cluster vim9VariableType contains =vim9VariableType,vim9VariableCompoundType,vim9VariableUserType
1094+ syn cluster vim9VariableType contains =vim9VariableType,vim9VariableTypeAny, vim9VariableCompoundType,vim9VariableUserType
10931095
10941096" Lockvar and Unlockvar: {{{2
10951097" =====================
@@ -2424,6 +2426,7 @@ if !exists("skip_vim_syntax_inits")
24242426 hi def link vimThrow vimCommand
24252427 hi def link vimTodo Todo
24262428 hi def link vimType Type
2429+ hi def link vimTypeAny vimType
24272430 hi def link vimUniq vimCommand
24282431 hi def link vimUniqBang vimBang
24292432 hi def link vimUniqOptions Special
@@ -2514,6 +2517,7 @@ if !exists("skip_vim_syntax_inits")
25142517 hi def link vim9TypeEquals vimOper
25152518 hi def link vim9Variable vimVar
25162519 hi def link vim9VariableType vimType
2520+ hi def link vim9VariableTypeAny vimType
25172521 hi def link vim9Var vimCommand
25182522 hi def link vim9Vim9ScriptArg Special
25192523 hi def link vim9Vim9Script vimCommand
0 commit comments