Files
vim-polyglot/syntax/yats/es6-json.vim
Adam Stankiewicz 2838800832 Fix conditions, #608
2020-10-25 21:08:27 +01:00

10 lines
486 B
VimL

if has_key(g:polyglot_is_disabled, 'typescript')
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