mirror of
https://github.com/sheerun/vim-polyglot.git
synced 2025-11-19 08:53:41 -05:00
9 lines
491 B
VimL
9 lines
491 B
VimL
if polyglot#init#is_disabled(expand('<sfile>:p'), 'typescript', 'syntax/yats/es6-json.vim')
|
|
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
|
|
hi def link typescriptJSONStaticMethod Keyword
|