File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -212,6 +212,7 @@ syntax match jsOpAssign /=\@<!=/ nextgroup=jsFuncBlock skipwhite skipemp
212212syntax match jsFuncName contained / \< [a-zA-Z_$][0-9a-zA-Z_$]*/ nextgroup =jsFuncArgs skipwhite
213213syntax region jsFuncArgs contained matchgroup =jsFuncParens start =' (' end =' )' contains =jsFuncArgCommas nextgroup =jsFuncBlock keepend skipwhite
214214syntax match jsFuncArgCommas contained ' ,'
215+ syntax keyword jsArgsObj arguments contained containedin =jsFuncBlock
215216
216217" Define the default highlighting.
217218" For version 5.7 and earlier: only when not done already
@@ -262,6 +263,7 @@ if version >= 508 || !exists("did_javascript_syn_inits")
262263 HiLink jsFuncArgCommas Function
263264 HiLink jsFuncArgs Function
264265 HiLink jsFuncBlocks Function
266+ HiLink jsArgsObj Special
265267 HiLink jsError Error
266268 HiLink jsParensError Error
267269 HiLink jsParensErrA Error
You can’t perform that action at this time.
0 commit comments