File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -163,7 +163,7 @@ syntax match jsClassDefinition /\<class\>\%( [a-zA-Z_$][0-9a-zA-Z_$ \n.
163163syntax match jsDecorator contained " @" nextgroup =jsDecoratorFunction
164164syntax match jsDecoratorFunction contained " [a-zA-Z_][a-zA-Z0-9_.]*"
165165syntax match jsClassProperty contained / \< [0-9a-zA-Z_$]*\>\(\s *=\)\@ =/ skipwhite skipempty nextgroup =jsClassValue
166- syntax region jsClassValue contained matchgroup = jsNoise start =/ =/ end =/ ; / contains =@jsExpression
166+ syntax region jsClassValue contained start =/ =/ end =/ \% (; \| } \)\@ = / contains =@jsExpression
167167syntax region jsClassPropertyComputed contained matchgroup =jsBrackets start =/ \[ / end =/ ]/ contains =@jsExpression skipwhite skipempty nextgroup =jsFuncArgs extend
168168syntax match jsClassFuncName contained / \< [a-zA-Z_$][0-9a-zA-Z_$]*\>\% (\s *(\)\@ =/ skipwhite skipempty nextgroup =jsFuncArgs
169169
You can’t perform that action at this time.
0 commit comments