We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e1c29c7 commit 83f3ed7Copy full SHA for 83f3ed7
1 file changed
syntax/javascript.vim
@@ -208,7 +208,7 @@ else
208
endif
209
210
syntax match jsFuncName contained /\<[a-zA-Z_$][0-9a-zA-Z_$]*/ nextgroup=jsFuncArgs skipwhite
211
-syntax region jsFuncArgs contained matchgroup=jsFuncParens start='(' end=')' contains=jsFuncArgCommas nextgroup=jsFuncBlock keepend skipwhite
+syntax region jsFuncArgs contained matchgroup=jsFuncParens start='(' end=')' contains=jsFuncArgCommas nextgroup=jsFuncBlock keepend skipwhite skipempty
212
syntax match jsFuncArgCommas contained ','
213
syntax keyword jsArgsObj arguments contained containedin=jsFuncBlock
214
0 commit comments