mirror of
https://github.com/sheerun/vim-polyglot.git
synced 2025-11-14 14:33:50 -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 typescriptDOMStyle contained alignContent alignItems alignSelf animation
|
||||
syntax keyword typescriptDOMStyle contained animationDelay animationDirection animationDuration
|
||||
syntax keyword typescriptDOMStyle contained animationFillMode animationIterationCount
|
||||
@@ -73,3 +70,4 @@ syntax keyword typescriptDOMStyle contained whiteSpace width willChange wordBrea
|
||||
syntax keyword typescriptDOMStyle contained wordSpacing wordWrap writingMode zIndex
|
||||
if exists("did_typescript_hilink") | HiLink typescriptDOMStyle Keyword
|
||||
endif
|
||||
endif
|
||||
|
||||
@@ -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 typescriptDOMDocProp contained activeElement body cookie defaultView
|
||||
syntax keyword typescriptDOMDocProp contained designMode dir domain embeds forms head
|
||||
syntax keyword typescriptDOMDocProp contained images lastModified links location plugins
|
||||
@@ -34,3 +31,4 @@ syntax keyword typescriptDOMDocMethod contained querySelectorAll write writeln n
|
||||
syntax cluster props add=typescriptDOMDocMethod
|
||||
if exists("did_typescript_hilink") | HiLink typescriptDOMDocMethod Keyword
|
||||
endif
|
||||
endif
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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 typescriptDOMEventTargetMethod contained addEventListener removeEventListener nextgroup=typescriptEventFuncCallArg
|
||||
syntax keyword typescriptDOMEventTargetMethod contained dispatchEvent waitUntil nextgroup=typescriptEventFuncCallArg
|
||||
syntax cluster props add=typescriptDOMEventTargetMethod
|
||||
@@ -65,3 +62,4 @@ syntax keyword typescriptDOMEventMethod contained stopPropagation respondWith de
|
||||
syntax cluster props add=typescriptDOMEventMethod
|
||||
if exists("did_typescript_hilink") | HiLink typescriptDOMEventMethod Keyword
|
||||
endif
|
||||
endif
|
||||
|
||||
@@ -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 typescriptDOMFormProp contained acceptCharset action elements encoding
|
||||
syntax keyword typescriptDOMFormProp contained enctype length method name target
|
||||
syntax cluster props add=typescriptDOMFormProp
|
||||
@@ -11,3 +8,4 @@ syntax keyword typescriptDOMFormMethod contained reportValidity reset submit nex
|
||||
syntax cluster props add=typescriptDOMFormMethod
|
||||
if exists("did_typescript_hilink") | HiLink typescriptDOMFormMethod Keyword
|
||||
endif
|
||||
endif
|
||||
|
||||
@@ -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 typescriptDOMNodeProp contained attributes baseURI baseURIObject childNodes
|
||||
syntax keyword typescriptDOMNodeProp contained firstChild lastChild localName namespaceURI
|
||||
syntax keyword typescriptDOMNodeProp contained nextSibling nodeName nodePrincipal
|
||||
@@ -27,3 +24,4 @@ syntax keyword typescriptDOMNodeType contained COMMENT_NODE DOCUMENT_NODE DOCUME
|
||||
syntax keyword typescriptDOMNodeType contained DOCUMENT_FRAGMENT_NODE NOTATION_NODE
|
||||
if exists("did_typescript_hilink") | HiLink typescriptDOMNodeType Keyword
|
||||
endif
|
||||
endif
|
||||
|
||||
@@ -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 typescriptDOMStorage contained sessionStorage localStorage
|
||||
if exists("did_typescript_hilink") | HiLink typescriptDOMStorage Keyword
|
||||
endif
|
||||
@@ -14,3 +11,4 @@ syntax keyword typescriptDOMStorageMethod contained clear nextgroup=typescriptFu
|
||||
syntax cluster props add=typescriptDOMStorageMethod
|
||||
if exists("did_typescript_hilink") | HiLink typescriptDOMStorageMethod Keyword
|
||||
endif
|
||||
endif
|
||||
|
||||
@@ -1,10 +1,8 @@
|
||||
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 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
|
||||
endif
|
||||
|
||||
@@ -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 typescriptGlobal containedin=typescriptIdentifierName Array nextgroup=typescriptGlobalArrayDot,typescriptFuncCallArg
|
||||
syntax match typescriptGlobalArrayDot /\./ contained nextgroup=typescriptArrayStaticMethod,typescriptProp
|
||||
syntax keyword typescriptArrayStaticMethod contained from isArray of nextgroup=typescriptFuncCallArg
|
||||
@@ -16,3 +13,4 @@ syntax keyword typescriptArrayMethod contained toSource toString unshift nextgro
|
||||
syntax cluster props add=typescriptArrayMethod
|
||||
if exists("did_typescript_hilink") | HiLink typescriptArrayMethod Keyword
|
||||
endif
|
||||
endif
|
||||
|
||||
@@ -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 typescriptGlobal containedin=typescriptIdentifierName Date nextgroup=typescriptGlobalDateDot,typescriptFuncCallArg
|
||||
syntax match typescriptGlobalDateDot /\./ contained nextgroup=typescriptDateStaticMethod,typescriptProp
|
||||
syntax keyword typescriptDateStaticMethod contained UTC now parse nextgroup=typescriptFuncCallArg
|
||||
@@ -24,3 +21,4 @@ syntax keyword typescriptDateMethod contained valueOf nextgroup=typescriptFuncCa
|
||||
syntax cluster props add=typescriptDateMethod
|
||||
if exists("did_typescript_hilink") | HiLink typescriptDateMethod Keyword
|
||||
endif
|
||||
endif
|
||||
|
||||
@@ -1,9 +1,7 @@
|
||||
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 typescriptGlobal containedin=typescriptIdentifierName Function
|
||||
syntax keyword typescriptFunctionMethod contained apply bind call nextgroup=typescriptFuncCallArg
|
||||
syntax cluster props add=typescriptFunctionMethod
|
||||
if exists("did_typescript_hilink") | HiLink typescriptFunctionMethod Keyword
|
||||
endif
|
||||
endif
|
||||
|
||||
@@ -1,9 +1,7 @@
|
||||
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 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
|
||||
endif
|
||||
|
||||
@@ -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 typescriptGlobal containedin=typescriptIdentifierName Map WeakMap
|
||||
syntax keyword typescriptES6MapProp contained size
|
||||
syntax cluster props add=typescriptES6MapProp
|
||||
@@ -12,3 +9,4 @@ syntax keyword typescriptES6MapMethod contained keys set values nextgroup=typesc
|
||||
syntax cluster props add=typescriptES6MapMethod
|
||||
if exists("did_typescript_hilink") | HiLink typescriptES6MapMethod Keyword
|
||||
endif
|
||||
endif
|
||||
|
||||
@@ -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 typescriptGlobal containedin=typescriptIdentifierName Math nextgroup=typescriptGlobalMathDot,typescriptFuncCallArg
|
||||
syntax match typescriptGlobalMathDot /\./ contained nextgroup=typescriptMathStaticProp,typescriptMathStaticMethod,typescriptProp
|
||||
syntax keyword typescriptMathStaticProp contained E LN10 LN2 LOG10E LOG2E PI SQRT1_2
|
||||
@@ -16,3 +13,4 @@ syntax keyword typescriptMathStaticMethod contained min pow random round sign si
|
||||
syntax keyword typescriptMathStaticMethod contained sinh sqrt tan tanh trunc nextgroup=typescriptFuncCallArg
|
||||
if exists("did_typescript_hilink") | HiLink typescriptMathStaticMethod Keyword
|
||||
endif
|
||||
endif
|
||||
|
||||
@@ -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 typescriptGlobal containedin=typescriptIdentifierName Number nextgroup=typescriptGlobalNumberDot,typescriptFuncCallArg
|
||||
syntax match typescriptGlobalNumberDot /\./ contained nextgroup=typescriptNumberStaticProp,typescriptNumberStaticMethod,typescriptProp
|
||||
syntax keyword typescriptNumberStaticProp contained EPSILON MAX_SAFE_INTEGER MAX_VALUE
|
||||
@@ -18,3 +15,4 @@ syntax keyword typescriptNumberMethod contained toPrecision toSource toString va
|
||||
syntax cluster props add=typescriptNumberMethod
|
||||
if exists("did_typescript_hilink") | HiLink typescriptNumberMethod Keyword
|
||||
endif
|
||||
endif
|
||||
|
||||
@@ -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 typescriptGlobal containedin=typescriptIdentifierName Object nextgroup=typescriptGlobalObjectDot,typescriptFuncCallArg
|
||||
syntax match typescriptGlobalObjectDot /\./ contained nextgroup=typescriptObjectStaticMethod,typescriptProp
|
||||
syntax keyword typescriptObjectStaticMethod contained create defineProperties defineProperty nextgroup=typescriptFuncCallArg
|
||||
@@ -19,3 +16,4 @@ syntax keyword typescriptObjectMethod contained setPrototypeOf nextgroup=typescr
|
||||
syntax cluster props add=typescriptObjectMethod
|
||||
if exists("did_typescript_hilink") | HiLink typescriptObjectMethod Keyword
|
||||
endif
|
||||
endif
|
||||
|
||||
@@ -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 typescriptGlobal containedin=typescriptIdentifierName Promise nextgroup=typescriptGlobalPromiseDot,typescriptFuncCallArg
|
||||
syntax match typescriptGlobalPromiseDot /\./ contained nextgroup=typescriptPromiseStaticMethod,typescriptProp
|
||||
syntax keyword typescriptPromiseStaticMethod contained resolve reject all race nextgroup=typescriptFuncCallArg
|
||||
@@ -11,3 +8,4 @@ syntax keyword typescriptPromiseMethod contained then catch finally nextgroup=ty
|
||||
syntax cluster props add=typescriptPromiseMethod
|
||||
if exists("did_typescript_hilink") | HiLink typescriptPromiseMethod Keyword
|
||||
endif
|
||||
endif
|
||||
|
||||
@@ -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 typescriptGlobal containedin=typescriptIdentifierName Proxy
|
||||
syntax keyword typescriptProxyAPI contained getOwnPropertyDescriptor getOwnPropertyNames
|
||||
syntax keyword typescriptProxyAPI contained defineProperty deleteProperty freeze seal
|
||||
@@ -9,3 +6,4 @@ syntax keyword typescriptProxyAPI contained preventExtensions has hasOwn get set
|
||||
syntax keyword typescriptProxyAPI contained iterate ownKeys apply construct
|
||||
if exists("did_typescript_hilink") | HiLink typescriptProxyAPI Keyword
|
||||
endif
|
||||
endif
|
||||
|
||||
@@ -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 typescriptGlobal containedin=typescriptIdentifierName Reflect
|
||||
syntax keyword typescriptReflectMethod contained apply construct defineProperty deleteProperty nextgroup=typescriptFuncCallArg
|
||||
syntax keyword typescriptReflectMethod contained enumerate get getOwnPropertyDescriptor nextgroup=typescriptFuncCallArg
|
||||
@@ -10,3 +7,4 @@ syntax keyword typescriptReflectMethod contained preventExtensions set setProtot
|
||||
syntax cluster props add=typescriptReflectMethod
|
||||
if exists("did_typescript_hilink") | HiLink typescriptReflectMethod Keyword
|
||||
endif
|
||||
endif
|
||||
|
||||
@@ -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 typescriptGlobal containedin=typescriptIdentifierName RegExp nextgroup=typescriptGlobalRegExpDot,typescriptFuncCallArg
|
||||
syntax match typescriptGlobalRegExpDot /\./ contained nextgroup=typescriptRegExpStaticProp,typescriptProp
|
||||
syntax keyword typescriptRegExpStaticProp contained lastIndex
|
||||
@@ -15,3 +12,4 @@ syntax keyword typescriptRegExpMethod contained exec test nextgroup=typescriptFu
|
||||
syntax cluster props add=typescriptRegExpMethod
|
||||
if exists("did_typescript_hilink") | HiLink typescriptRegExpMethod Keyword
|
||||
endif
|
||||
endif
|
||||
|
||||
@@ -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 typescriptGlobal containedin=typescriptIdentifierName Set WeakSet
|
||||
syntax keyword typescriptES6SetProp contained size
|
||||
syntax cluster props add=typescriptES6SetProp
|
||||
@@ -12,3 +9,4 @@ syntax keyword typescriptES6SetMethod contained values nextgroup=typescriptFuncC
|
||||
syntax cluster props add=typescriptES6SetMethod
|
||||
if exists("did_typescript_hilink") | HiLink typescriptES6SetMethod Keyword
|
||||
endif
|
||||
endif
|
||||
|
||||
@@ -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 typescriptGlobal containedin=typescriptIdentifierName String nextgroup=typescriptGlobalStringDot,typescriptFuncCallArg
|
||||
syntax match typescriptGlobalStringDot /\./ contained nextgroup=typescriptStringStaticMethod,typescriptProp
|
||||
syntax keyword typescriptStringStaticMethod contained fromCharCode fromCodePoint raw nextgroup=typescriptFuncCallArg
|
||||
@@ -18,3 +15,4 @@ syntax keyword typescriptStringMethod contained valueOf nextgroup=typescriptFunc
|
||||
syntax cluster props add=typescriptStringMethod
|
||||
if exists("did_typescript_hilink") | HiLink typescriptStringMethod Keyword
|
||||
endif
|
||||
endif
|
||||
|
||||
@@ -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 typescriptGlobal containedin=typescriptIdentifierName Symbol nextgroup=typescriptGlobalSymbolDot,typescriptFuncCallArg
|
||||
syntax match typescriptGlobalSymbolDot /\./ contained nextgroup=typescriptSymbolStaticProp,typescriptSymbolStaticMethod,typescriptProp
|
||||
syntax keyword typescriptSymbolStaticProp contained length iterator match replace
|
||||
@@ -13,3 +10,4 @@ endif
|
||||
syntax keyword typescriptSymbolStaticMethod contained for keyFor nextgroup=typescriptFuncCallArg
|
||||
if exists("did_typescript_hilink") | HiLink typescriptSymbolStaticMethod Keyword
|
||||
endif
|
||||
endif
|
||||
|
||||
@@ -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 typescriptAnimationEvent contained animationend animationiteration
|
||||
syntax keyword typescriptAnimationEvent contained animationstart beginEvent endEvent
|
||||
syntax keyword typescriptAnimationEvent contained repeatEvent
|
||||
@@ -161,3 +158,4 @@ syntax keyword typescriptServiceWorkerEvent contained install activate fetch
|
||||
syntax cluster events add=typescriptServiceWorkerEvent
|
||||
if exists("did_typescript_hilink") | HiLink typescriptServiceWorkerEvent Title
|
||||
endif
|
||||
endif
|
||||
|
||||
@@ -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 typescriptNodeGlobal containedin=typescriptIdentifierName global process
|
||||
syntax keyword typescriptNodeGlobal containedin=typescriptIdentifierName console Buffer
|
||||
syntax keyword typescriptNodeGlobal containedin=typescriptIdentifierName module exports
|
||||
@@ -11,3 +8,4 @@ syntax keyword typescriptNodeGlobal containedin=typescriptIdentifierName setInte
|
||||
syntax keyword typescriptNodeGlobal containedin=typescriptIdentifierName clearInterval
|
||||
if exists("did_typescript_hilink") | HiLink typescriptNodeGlobal Structure
|
||||
endif
|
||||
endif
|
||||
|
||||
@@ -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 typescriptTestGlobal containedin=typescriptIdentifierName describe
|
||||
syntax keyword typescriptTestGlobal containedin=typescriptIdentifierName it test before
|
||||
syntax keyword typescriptTestGlobal containedin=typescriptIdentifierName after beforeEach
|
||||
@@ -9,3 +6,4 @@ syntax keyword typescriptTestGlobal containedin=typescriptIdentifierName afterEa
|
||||
syntax keyword typescriptTestGlobal containedin=typescriptIdentifierName beforeAll
|
||||
syntax keyword typescriptTestGlobal containedin=typescriptIdentifierName afterAll
|
||||
syntax keyword typescriptTestGlobal containedin=typescriptIdentifierName expect assert
|
||||
endif
|
||||
|
||||
@@ -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 typescriptGlobal containedin=typescriptIdentifierName Function Boolean
|
||||
syntax keyword typescriptGlobal containedin=typescriptIdentifierName Error EvalError
|
||||
syntax keyword typescriptGlobal containedin=typescriptIdentifierName InternalError
|
||||
@@ -33,3 +30,4 @@ syntax keyword typescriptGlobalMethod containedin=typescriptIdentifierName encod
|
||||
syntax cluster props add=typescriptGlobalMethod
|
||||
if exists("did_typescript_hilink") | HiLink typescriptGlobalMethod Structure
|
||||
endif
|
||||
endif
|
||||
|
||||
@@ -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 typescriptGlobal containedin=typescriptIdentifierName Blob BlobBuilder
|
||||
syntax keyword typescriptGlobal containedin=typescriptIdentifierName File FileReader
|
||||
syntax keyword typescriptGlobal containedin=typescriptIdentifierName FileReaderSync
|
||||
@@ -39,3 +36,4 @@ endif
|
||||
syntax keyword typescriptURLStaticMethod contained createObjectURL revokeObjectURL nextgroup=typescriptFuncCallArg
|
||||
if exists("did_typescript_hilink") | HiLink typescriptURLStaticMethod Keyword
|
||||
endif
|
||||
endif
|
||||
|
||||
@@ -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 typescriptGlobal containedin=typescriptIdentifierName console
|
||||
syntax keyword typescriptConsoleMethod contained count dir error group groupCollapsed nextgroup=typescriptFuncCallArg
|
||||
syntax keyword typescriptConsoleMethod contained groupEnd info log time timeEnd trace nextgroup=typescriptFuncCallArg
|
||||
@@ -9,3 +6,4 @@ syntax keyword typescriptConsoleMethod contained warn nextgroup=typescriptFuncCa
|
||||
syntax cluster props add=typescriptConsoleMethod
|
||||
if exists("did_typescript_hilink") | HiLink typescriptConsoleMethod Keyword
|
||||
endif
|
||||
endif
|
||||
|
||||
@@ -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 typescriptCryptoGlobal containedin=typescriptIdentifierName crypto
|
||||
if exists("did_typescript_hilink") | HiLink typescriptCryptoGlobal Structure
|
||||
endif
|
||||
@@ -18,3 +15,4 @@ syntax keyword typescriptCryptoMethod contained getRandomValues nextgroup=typesc
|
||||
syntax cluster props add=typescriptCryptoMethod
|
||||
if exists("did_typescript_hilink") | HiLink typescriptCryptoMethod Keyword
|
||||
endif
|
||||
endif
|
||||
|
||||
@@ -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 typescriptEncodingGlobal containedin=typescriptIdentifierName TextEncoder
|
||||
syntax keyword typescriptEncodingGlobal containedin=typescriptIdentifierName TextDecoder
|
||||
if exists("did_typescript_hilink") | HiLink typescriptEncodingGlobal Structure
|
||||
@@ -14,3 +11,4 @@ syntax keyword typescriptEncodingMethod contained encode decode nextgroup=typesc
|
||||
syntax cluster props add=typescriptEncodingMethod
|
||||
if exists("did_typescript_hilink") | HiLink typescriptEncodingMethod Keyword
|
||||
endif
|
||||
endif
|
||||
|
||||
@@ -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 typescriptGlobal containedin=typescriptIdentifierName Headers Request
|
||||
syntax keyword typescriptGlobal containedin=typescriptIdentifierName Response
|
||||
syntax keyword typescriptGlobalMethod containedin=typescriptIdentifierName fetch nextgroup=typescriptFuncCallArg
|
||||
@@ -30,3 +27,4 @@ syntax keyword typescriptResponseMethod contained clone nextgroup=typescriptFunc
|
||||
syntax cluster props add=typescriptResponseMethod
|
||||
if exists("did_typescript_hilink") | HiLink typescriptResponseMethod Keyword
|
||||
endif
|
||||
endif
|
||||
|
||||
@@ -1,10 +1,8 @@
|
||||
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 typescriptGlobal containedin=typescriptIdentifierName Geolocation
|
||||
syntax keyword typescriptGeolocationMethod contained getCurrentPosition watchPosition nextgroup=typescriptFuncCallArg
|
||||
syntax keyword typescriptGeolocationMethod contained clearWatch nextgroup=typescriptFuncCallArg
|
||||
syntax cluster props add=typescriptGeolocationMethod
|
||||
if exists("did_typescript_hilink") | HiLink typescriptGeolocationMethod Keyword
|
||||
endif
|
||||
endif
|
||||
|
||||
@@ -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 typescriptBOMHistoryProp contained length current next previous state
|
||||
syntax keyword typescriptBOMHistoryProp contained scrollRestoration
|
||||
syntax cluster props add=typescriptBOMHistoryProp
|
||||
@@ -11,3 +8,4 @@ syntax keyword typescriptBOMHistoryMethod contained back forward go pushState re
|
||||
syntax cluster props add=typescriptBOMHistoryMethod
|
||||
if exists("did_typescript_hilink") | HiLink typescriptBOMHistoryMethod Keyword
|
||||
endif
|
||||
endif
|
||||
|
||||
@@ -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 typescriptBOMLocationProp contained href protocol host hostname port
|
||||
syntax keyword typescriptBOMLocationProp contained pathname search hash username password
|
||||
syntax keyword typescriptBOMLocationProp contained origin
|
||||
@@ -12,3 +9,4 @@ syntax keyword typescriptBOMLocationMethod contained assign reload replace toStr
|
||||
syntax cluster props add=typescriptBOMLocationMethod
|
||||
if exists("did_typescript_hilink") | HiLink typescriptBOMLocationMethod Keyword
|
||||
endif
|
||||
endif
|
||||
|
||||
@@ -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 typescriptBOMNavigatorProp contained battery buildID connection cookieEnabled
|
||||
syntax keyword typescriptBOMNavigatorProp contained doNotTrack maxTouchPoints oscpu
|
||||
syntax keyword typescriptBOMNavigatorProp contained productSub push serviceWorker
|
||||
@@ -22,3 +19,4 @@ syntax keyword typescriptServiceWorkerMethod contained register nextgroup=typesc
|
||||
syntax cluster props add=typescriptServiceWorkerMethod
|
||||
if exists("did_typescript_hilink") | HiLink typescriptServiceWorkerMethod Keyword
|
||||
endif
|
||||
endif
|
||||
|
||||
@@ -1,10 +1,8 @@
|
||||
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 typescriptGlobal containedin=typescriptIdentifierName NetworkInformation
|
||||
syntax keyword typescriptBOMNetworkProp contained downlink downlinkMax effectiveType
|
||||
syntax keyword typescriptBOMNetworkProp contained rtt type
|
||||
syntax cluster props add=typescriptBOMNetworkProp
|
||||
if exists("did_typescript_hilink") | HiLink typescriptBOMNetworkProp Keyword
|
||||
endif
|
||||
endif
|
||||
|
||||
@@ -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 typescriptGlobal containedin=typescriptIdentifierName PaymentRequest
|
||||
syntax keyword typescriptPaymentMethod contained show abort canMakePayment nextgroup=typescriptFuncCallArg
|
||||
syntax cluster props add=typescriptPaymentMethod
|
||||
@@ -35,3 +32,4 @@ syntax keyword typescriptPaymentShippingOptionProp contained id label amount sel
|
||||
syntax cluster props add=typescriptPaymentShippingOptionProp
|
||||
if exists("did_typescript_hilink") | HiLink typescriptPaymentShippingOptionProp Keyword
|
||||
endif
|
||||
endif
|
||||
|
||||
@@ -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 typescriptServiceWorkerProp contained controller ready
|
||||
syntax cluster props add=typescriptServiceWorkerProp
|
||||
if exists("did_typescript_hilink") | HiLink typescriptServiceWorkerProp Keyword
|
||||
@@ -16,3 +13,4 @@ syntax keyword typescriptCacheMethod contained keys nextgroup=typescriptFuncCall
|
||||
syntax cluster props add=typescriptCacheMethod
|
||||
if exists("did_typescript_hilink") | HiLink typescriptCacheMethod Keyword
|
||||
endif
|
||||
endif
|
||||
|
||||
@@ -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 typescriptBOMWindowProp containedin=typescriptIdentifierName applicationCache
|
||||
syntax keyword typescriptBOMWindowProp containedin=typescriptIdentifierName closed
|
||||
syntax keyword typescriptBOMWindowProp containedin=typescriptIdentifierName Components
|
||||
@@ -111,3 +108,4 @@ syntax keyword typescriptBOMWindowCons containedin=typescriptIdentifierName Quer
|
||||
syntax keyword typescriptBOMWindowCons containedin=typescriptIdentifierName XMLSerializer
|
||||
if exists("did_typescript_hilink") | HiLink typescriptBOMWindowCons Structure
|
||||
endif
|
||||
endif
|
||||
|
||||
@@ -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 typescriptXHRGlobal containedin=typescriptIdentifierName XMLHttpRequest
|
||||
if exists("did_typescript_hilink") | HiLink typescriptXHRGlobal Structure
|
||||
endif
|
||||
@@ -16,3 +13,4 @@ syntax keyword typescriptXHRMethod contained open overrideMimeType send setReque
|
||||
syntax cluster props add=typescriptXHRMethod
|
||||
if exists("did_typescript_hilink") | HiLink typescriptXHRMethod Keyword
|
||||
endif
|
||||
endif
|
||||
|
||||
@@ -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 typescriptBOM containedin=typescriptIdentifierName AbortController
|
||||
syntax keyword typescriptBOM containedin=typescriptIdentifierName AbstractWorker AnalyserNode
|
||||
syntax keyword typescriptBOM containedin=typescriptIdentifierName App Apps ArrayBuffer
|
||||
@@ -251,3 +248,4 @@ syntax keyword typescriptBOM containedin=typescriptIdentifierName XDomainRequest
|
||||
syntax keyword typescriptBOM containedin=typescriptIdentifierName XMLHttpRequestEventTarget
|
||||
if exists("did_typescript_hilink") | HiLink typescriptBOM Structure
|
||||
endif
|
||||
endif
|
||||
|
||||
Reference in New Issue
Block a user