Skip to content

Commit 992b76d

Browse files
committed
Temporarily disabled jsArrowFuncArgs with parens
This is until we can figure out how to properly match all the crazy use cases.
1 parent dd95ac2 commit 992b76d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

syntax/javascript.vim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,7 @@ syntax match jsFuncArgDestructuring contained /\({\|}\|=\|:\|(\|)\|\[\|\]\)/ e
227227
" Matches a single keyword argument with no parens
228228
syntax match jsArrowFuncArgs /\(\k\)\+\s*\(=>\)\@=/ skipwhite contains=jsFuncArgs nextgroup=jsArrowFunction
229229
" Matches a series of arguments surrounded in parens
230-
syntax match jsArrowFuncArgs /(\%(.\)*)\s*\(=>\)\@=/ skipempty skipwhite contains=jsFuncArgs nextgroup=jsArrowFunction
230+
" syntax match jsArrowFuncArgs /(\%(.\)*)\s*\(=>\)\@=/ skipempty skipwhite contains=jsFuncArgs nextgroup=jsArrowFunction
231231

232232
syntax keyword jsClassKeywords extends class contained
233233
syntax match jsClassNoise /\./ contained

0 commit comments

Comments
 (0)