blob: 5e10a03a5dcc79fdb3a8fdc465eec0e5a1897c98 (
plain) (
blame)
| 1
2
3
4
5
6
7
8
9
 | 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
 |