diff options
| author | Adam Stankiewicz <sheerun@sher.pl> | 2019-11-12 21:56:06 +0100 | 
|---|---|---|
| committer | Adam Stankiewicz <sheerun@sher.pl> | 2019-11-12 21:56:06 +0100 | 
| commit | 0c79dd3e73e8e09b73d4a5d20bf470a3f6f715f2 (patch) | |
| tree | 5b5e45e53e9ecafa6c182c8ce7e0266e34388e4d /syntax/basic | |
| parent | 4e95df7c7e12cb76e781f2dacf1c07f8984cce58 (diff) | |
| download | vim-polyglot-0c79dd3e73e8e09b73d4a5d20bf470a3f6f715f2.tar.gz vim-polyglot-0c79dd3e73e8e09b73d4a5d20bf470a3f6f715f2.zip | |
Update
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=/>/ | 
