mirror of
https://github.com/sheerun/vim-polyglot.git
synced 2025-11-08 11:33:52 -05:00
17 lines
793 B
VimL
17 lines
793 B
VimL
if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'typescript') != -1
|
|
finish
|
|
endif
|
|
|
|
syntax keyword typescriptEncodingGlobal containedin=typescriptIdentifierName TextEncoder
|
|
syntax keyword typescriptEncodingGlobal containedin=typescriptIdentifierName TextDecoder
|
|
if exists("did_typescript_hilink") | HiLink typescriptEncodingGlobal Structure
|
|
endif
|
|
syntax keyword typescriptEncodingProp contained encoding fatal ignoreBOM
|
|
syntax cluster props add=typescriptEncodingProp
|
|
if exists("did_typescript_hilink") | HiLink typescriptEncodingProp Keyword
|
|
endif
|
|
syntax keyword typescriptEncodingMethod contained encode decode nextgroup=typescriptFuncCallArg
|
|
syntax cluster props add=typescriptEncodingMethod
|
|
if exists("did_typescript_hilink") | HiLink typescriptEncodingMethod Keyword
|
|
endif
|