mirror of
https://github.com/sheerun/vim-polyglot.git
synced 2025-11-12 13:33:49 -05:00
11 lines
503 B
VimL
11 lines
503 B
VimL
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
|