mirror of
https://github.com/sheerun/vim-polyglot.git
synced 2025-11-12 05:23:51 -05:00
Switch typescript provider, closes #428
This commit is contained in:
9
syntax/yats/es6-json.vim
Normal file
9
syntax/yats/es6-json.vim
Normal file
@@ -0,0 +1,9 @@
|
||||
if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'typescript') != -1
|
||||
finish
|
||||
endif
|
||||
|
||||
syntax keyword typescriptGlobal containedin=typescriptIdentifierName JSON nextgroup=typescriptGlobalJSONDot,typescriptFuncCallArg
|
||||
syntax match typescriptGlobalJSONDot /\./ contained nextgroup=typescriptJSONStaticMethod,typescriptProp
|
||||
syntax keyword typescriptJSONStaticMethod contained parse stringify nextgroup=typescriptFuncCallArg
|
||||
if exists("did_typescript_hilink") | HiLink typescriptJSONStaticMethod Keyword
|
||||
endif
|
||||
Reference in New Issue
Block a user