mirror of
https://github.com/sheerun/vim-polyglot.git
synced 2025-11-16 07:23:48 -05:00
Improve guard to support concatenated files
This commit is contained in:
@@ -1,7 +1,4 @@
|
||||
if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'typescript') != -1
|
||||
finish
|
||||
endif
|
||||
|
||||
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'typescript') == -1
|
||||
syntax keyword typescriptDOMElemAttrs contained accessKey clientHeight clientLeft
|
||||
syntax keyword typescriptDOMElemAttrs contained clientTop clientWidth id innerHTML
|
||||
syntax keyword typescriptDOMElemAttrs contained length onafterscriptexecute onbeforescriptexecute
|
||||
@@ -25,3 +22,4 @@ syntax keyword typescriptDOMElemFuncs contained setAttributeNodeNS setCapture su
|
||||
syntax keyword typescriptDOMElemFuncs contained getAttribute
|
||||
if exists("did_typescript_hilink") | HiLink typescriptDOMElemFuncs Keyword
|
||||
endif
|
||||
endif
|
||||
|
||||
Reference in New Issue
Block a user