Open morr opened 4 years ago
It seems it would not work for this case?
1 + 1
|> f(1, ?)
This seems to work for both cases and does not highlight the following ,
or )
as part of the ?
.
syntax match jsFuncArgPartApp contained /\%([(,]\s*\)\@<=?\%(\s*[,)]\)\@=/ containedin=jsFuncArgs
https://babeljs.io/docs/en/babel-plugin-proposal-partial-application
Before:
After: