Fix type parsing for &,@,?
This commit is contained in:
parent
a6b7402151
commit
87333c87b5
@ -133,8 +133,9 @@ hi def link SSSTypeUnits Type
|
|||||||
syn region SSSType start=/\[/ end=/\]\|$/ contains=SSSType contained nextgroup=SSSTableValueType,SSSTypeUnits
|
syn region SSSType start=/\[/ end=/\]\|$/ contains=SSSType contained nextgroup=SSSTableValueType,SSSTypeUnits
|
||||||
syn region SSSType start=/{/ end=/}\|$/ contains=SSSType,SSSAssoc contained nextgroup=SSSTableValueType,SSSTypeUnits
|
syn region SSSType start=/{/ end=/}\|$/ contains=SSSType,SSSAssoc contained nextgroup=SSSTableValueType,SSSTypeUnits
|
||||||
syn region SSSType start=/(/ end=/) *->/ contains=SSSType,SSSTypeDelim nextgroup=SSSType contained
|
syn region SSSType start=/(/ end=/) *->/ contains=SSSType,SSSTypeDelim nextgroup=SSSType contained
|
||||||
syn match SSSType /[a-zA-Z_0-9@?&]\+/ contained nextgroup=SSSTableValueType,SSSTypeUnits
|
syn match SSSType /[a-zA-Z_]\i*/ contained nextgroup=SSSTableValueType,SSSTypeUnits
|
||||||
syn match SSSType /\$[a-zA-Z_0-9@?&]\+/ contained nextgroup=SSSTableValueType,SSSTypeUnits
|
syn match SSSType /\$[a-zA-Z_0-9]\+/ contained nextgroup=SSSTableValueType,SSSTypeUnits
|
||||||
|
syn match SSSType /[@?&]\+/ contained nextgroup=SSSType
|
||||||
hi def link SSSType Type
|
hi def link SSSType Type
|
||||||
|
|
||||||
syn match SSSTypeAnnotation /:\@<!:[=:]\@!/ nextgroup=SSSType
|
syn match SSSTypeAnnotation /:\@<!:[=:]\@!/ nextgroup=SSSType
|
||||||
|
Loading…
Reference in New Issue
Block a user