diff options
Diffstat (limited to 'syntax/basic')
| -rw-r--r-- | syntax/basic/type.vim | 7 | 
1 files changed, 6 insertions, 1 deletions
| diff --git a/syntax/basic/type.vim b/syntax/basic/type.vim index bd1bdd1a..af2b535f 100644 --- a/syntax/basic/type.vim +++ b/syntax/basic/type.vim @@ -52,7 +52,8 @@ syntax cluster typescriptPrimaryType contains=    \ typescriptTupleType,    \ typescriptTypeQuery,    \ typescriptStringLiteralType, -  \ typescriptReadonlyArrayKeyword +  \ typescriptReadonlyArrayKeyword, +  \ typescriptAssertType  syntax region  typescriptStringLiteralType contained    \ start=/\z(["']\)/  skip=/\\\\\|\\\z1\|\\\n/  end=/\z1\|$/ @@ -130,6 +131,10 @@ syntax keyword typescriptTypeQuery typeof keyof    \ nextgroup=typescriptTypeReference    \ contained skipwhite skipnl +syntax keyword typescriptAssertType asserts +  \ nextgroup=typescriptTypeReference +  \ contained skipwhite skipnl +  syntax cluster typescriptCallSignature contains=typescriptGenericCall,typescriptCall  syntax region typescriptGenericCall matchgroup=typescriptTypeBrackets    \ start=/</ end=/>/ | 
