mirror of
https://github.com/sheerun/vim-polyglot.git
synced 2025-11-15 23:13:50 -05:00
Switch typescript provider, closes #428
This commit is contained in:
10
syntax/yats/ecma-402.vim
Normal file
10
syntax/yats/ecma-402.vim
Normal file
@@ -0,0 +1,10 @@
|
||||
if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'typescript') != -1
|
||||
finish
|
||||
endif
|
||||
|
||||
syntax keyword typescriptGlobal containedin=typescriptIdentifierName Intl
|
||||
syntax keyword typescriptIntlMethod contained Collator DateTimeFormat NumberFormat nextgroup=typescriptFuncCallArg
|
||||
syntax keyword typescriptIntlMethod contained PluralRules nextgroup=typescriptFuncCallArg
|
||||
syntax cluster props add=typescriptIntlMethod
|
||||
if exists("did_typescript_hilink") | HiLink typescriptIntlMethod Keyword
|
||||
endif
|
||||
Reference in New Issue
Block a user