File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ syntax region jsFlowFunctionGroup contained matchgroup=jsFlowNoise start=/
3131syntax region jsFlowClassGroup contained matchgroup =jsFlowNoise start =/ </ end =/ >/ contains =@jsFlowCluster skipwhite skipempty nextgroup =jsClassBlock
3232syntax region jsFlowClassFunctionGroup contained matchgroup =jsFlowNoise start =/ </ end =/ >/ contains =@jsFlowCluster skipwhite skipempty nextgroup =jsFuncArgs
3333
34- syntax region jsFlowTypeStatement start =/ type\% (\s\+\k\)\@ =/ end =/ =\@ =/ contains =jsFlowTypeOperator oneline skipwhite skipempty nextgroup =jsFlowTypeValue keepend
34+ syntax region jsFlowTypeStatement start =/ \( opaque \s\+\)\? type\% (\s\+\k\)\@ =/ end =/ =\@ =/ contains =jsFlowTypeOperator oneline skipwhite skipempty nextgroup =jsFlowTypeValue keepend
3535syntax region jsFlowTypeValue contained matchgroup =jsFlowNoise start =/ =/ end =/ [\n ;]/ contains =@jsFlowCluster,jsFlowGroup,jsFlowMaybe
3636syntax match jsFlowTypeOperator contained / =/ containedin =jsFlowTypeValue
3737syntax match jsFlowTypeOperator contained / =/
You can’t perform that action at this time.
0 commit comments