File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -222,7 +222,7 @@ syntax match jsArrowFuncArgs /([^()]*)\s*\(=>\)\@=/ skipempty skipwhite conta
222
222
syntax keyword jsClassKeywords extends class contained
223
223
syntax match jsClassNoise / \. / contained
224
224
syntax keyword jsClassMethodDefinitions get set static contained nextgroup =jsFuncName skipwhite skipempty
225
- syntax match jsClassDefinition / class\% ( [a-zA-Z_$][0-9a-zA-Z_$ \n .]*\) */ contains =jsClassKeywords,jsClassNoise nextgroup =jsClassBlock skipwhite skipempty
225
+ syntax match jsClassDefinition / \< class\> \% ( [a-zA-Z_$][0-9a-zA-Z_$ \n .]*\) */ contains =jsClassKeywords,jsClassNoise nextgroup =jsClassBlock skipwhite skipempty
226
226
227
227
" Define the default highlighting.
228
228
" For version 5.7 and earlier: only when not done already
You can’t perform that action at this time.
0 commit comments