Switch typescript provider, closes #428

This commit is contained in:
Adam Stankiewicz
2019-09-06 14:32:07 +02:00
parent 66b769328c
commit 84ec4eedcd
69 changed files with 3218 additions and 661 deletions

75
syntax/yats/css.vim Normal file
View File

@@ -0,0 +1,75 @@
if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'typescript') != -1
finish
endif
syntax keyword typescriptDOMStyle contained alignContent alignItems alignSelf animation
syntax keyword typescriptDOMStyle contained animationDelay animationDirection animationDuration
syntax keyword typescriptDOMStyle contained animationFillMode animationIterationCount
syntax keyword typescriptDOMStyle contained animationName animationPlayState animationTimingFunction
syntax keyword typescriptDOMStyle contained appearance backfaceVisibility background
syntax keyword typescriptDOMStyle contained backgroundAttachment backgroundBlendMode
syntax keyword typescriptDOMStyle contained backgroundClip backgroundColor backgroundImage
syntax keyword typescriptDOMStyle contained backgroundOrigin backgroundPosition backgroundRepeat
syntax keyword typescriptDOMStyle contained backgroundSize border borderBottom borderBottomColor
syntax keyword typescriptDOMStyle contained borderBottomLeftRadius borderBottomRightRadius
syntax keyword typescriptDOMStyle contained borderBottomStyle borderBottomWidth borderCollapse
syntax keyword typescriptDOMStyle contained borderColor borderImage borderImageOutset
syntax keyword typescriptDOMStyle contained borderImageRepeat borderImageSlice borderImageSource
syntax keyword typescriptDOMStyle contained borderImageWidth borderLeft borderLeftColor
syntax keyword typescriptDOMStyle contained borderLeftStyle borderLeftWidth borderRadius
syntax keyword typescriptDOMStyle contained borderRight borderRightColor borderRightStyle
syntax keyword typescriptDOMStyle contained borderRightWidth borderSpacing borderStyle
syntax keyword typescriptDOMStyle contained borderTop borderTopColor borderTopLeftRadius
syntax keyword typescriptDOMStyle contained borderTopRightRadius borderTopStyle borderTopWidth
syntax keyword typescriptDOMStyle contained borderWidth bottom boxDecorationBreak
syntax keyword typescriptDOMStyle contained boxShadow boxSizing breakAfter breakBefore
syntax keyword typescriptDOMStyle contained breakInside captionSide caretColor caretShape
syntax keyword typescriptDOMStyle contained caret clear clip clipPath color columns
syntax keyword typescriptDOMStyle contained columnCount columnFill columnGap columnRule
syntax keyword typescriptDOMStyle contained columnRuleColor columnRuleStyle columnRuleWidth
syntax keyword typescriptDOMStyle contained columnSpan columnWidth content counterIncrement
syntax keyword typescriptDOMStyle contained counterReset cursor direction display
syntax keyword typescriptDOMStyle contained emptyCells flex flexBasis flexDirection
syntax keyword typescriptDOMStyle contained flexFlow flexGrow flexShrink flexWrap
syntax keyword typescriptDOMStyle contained float font fontFamily fontFeatureSettings
syntax keyword typescriptDOMStyle contained fontKerning fontLanguageOverride fontSize
syntax keyword typescriptDOMStyle contained fontSizeAdjust fontStretch fontStyle fontSynthesis
syntax keyword typescriptDOMStyle contained fontVariant fontVariantAlternates fontVariantCaps
syntax keyword typescriptDOMStyle contained fontVariantEastAsian fontVariantLigatures
syntax keyword typescriptDOMStyle contained fontVariantNumeric fontVariantPosition
syntax keyword typescriptDOMStyle contained fontWeight grad grid gridArea gridAutoColumns
syntax keyword typescriptDOMStyle contained gridAutoFlow gridAutoPosition gridAutoRows
syntax keyword typescriptDOMStyle contained gridColumn gridColumnStart gridColumnEnd
syntax keyword typescriptDOMStyle contained gridRow gridRowStart gridRowEnd gridTemplate
syntax keyword typescriptDOMStyle contained gridTemplateAreas gridTemplateRows gridTemplateColumns
syntax keyword typescriptDOMStyle contained height hyphens imageRendering imageResolution
syntax keyword typescriptDOMStyle contained imageOrientation imeMode inherit justifyContent
syntax keyword typescriptDOMStyle contained left letterSpacing lineBreak lineHeight
syntax keyword typescriptDOMStyle contained listStyle listStyleImage listStylePosition
syntax keyword typescriptDOMStyle contained listStyleType margin marginBottom marginLeft
syntax keyword typescriptDOMStyle contained marginRight marginTop marks mask maskType
syntax keyword typescriptDOMStyle contained maxHeight maxWidth minHeight minWidth
syntax keyword typescriptDOMStyle contained mixBlendMode objectFit objectPosition
syntax keyword typescriptDOMStyle contained opacity order orphans outline outlineColor
syntax keyword typescriptDOMStyle contained outlineOffset outlineStyle outlineWidth
syntax keyword typescriptDOMStyle contained overflow overflowWrap overflowX overflowY
syntax keyword typescriptDOMStyle contained overflowClipBox padding paddingBottom
syntax keyword typescriptDOMStyle contained paddingLeft paddingRight paddingTop pageBreakAfter
syntax keyword typescriptDOMStyle contained pageBreakBefore pageBreakInside perspective
syntax keyword typescriptDOMStyle contained perspectiveOrigin pointerEvents position
syntax keyword typescriptDOMStyle contained quotes resize right shapeImageThreshold
syntax keyword typescriptDOMStyle contained shapeMargin shapeOutside tableLayout tabSize
syntax keyword typescriptDOMStyle contained textAlign textAlignLast textCombineHorizontal
syntax keyword typescriptDOMStyle contained textDecoration textDecorationColor textDecorationLine
syntax keyword typescriptDOMStyle contained textDecorationStyle textIndent textOrientation
syntax keyword typescriptDOMStyle contained textOverflow textRendering textShadow
syntax keyword typescriptDOMStyle contained textTransform textUnderlinePosition top
syntax keyword typescriptDOMStyle contained touchAction transform transformOrigin
syntax keyword typescriptDOMStyle contained transformStyle transition transitionDelay
syntax keyword typescriptDOMStyle contained transitionDuration transitionProperty
syntax keyword typescriptDOMStyle contained transitionTimingFunction unicodeBidi unicodeRange
syntax keyword typescriptDOMStyle contained userSelect userZoom verticalAlign visibility
syntax keyword typescriptDOMStyle contained whiteSpace width willChange wordBreak
syntax keyword typescriptDOMStyle contained wordSpacing wordWrap writingMode zIndex
if exists("did_typescript_hilink") | HiLink typescriptDOMStyle Keyword
endif

View File

@@ -0,0 +1,36 @@
if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'typescript') != -1
finish
endif
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
syntax keyword typescriptDOMDocProp contained postMessage readyState referrer registerElement
syntax keyword typescriptDOMDocProp contained scripts styleSheets title vlinkColor
syntax keyword typescriptDOMDocProp contained xmlEncoding characterSet compatMode
syntax keyword typescriptDOMDocProp contained contentType currentScript doctype documentElement
syntax keyword typescriptDOMDocProp contained documentURI documentURIObject firstChild
syntax keyword typescriptDOMDocProp contained implementation lastStyleSheetSet namespaceURI
syntax keyword typescriptDOMDocProp contained nodePrincipal ononline pointerLockElement
syntax keyword typescriptDOMDocProp contained popupNode preferredStyleSheetSet selectedStyleSheetSet
syntax keyword typescriptDOMDocProp contained styleSheetSets textContent tooltipNode
syntax cluster props add=typescriptDOMDocProp
if exists("did_typescript_hilink") | HiLink typescriptDOMDocProp Keyword
endif
syntax keyword typescriptDOMDocMethod contained caretPositionFromPoint close createNodeIterator nextgroup=typescriptFuncCallArg
syntax keyword typescriptDOMDocMethod contained createRange createTreeWalker elementFromPoint nextgroup=typescriptFuncCallArg
syntax keyword typescriptDOMDocMethod contained getElementsByName adoptNode createAttribute nextgroup=typescriptFuncCallArg
syntax keyword typescriptDOMDocMethod contained createCDATASection createComment createDocumentFragment nextgroup=typescriptFuncCallArg
syntax keyword typescriptDOMDocMethod contained createElement createElementNS createEvent nextgroup=typescriptFuncCallArg
syntax keyword typescriptDOMDocMethod contained createExpression createNSResolver nextgroup=typescriptFuncCallArg
syntax keyword typescriptDOMDocMethod contained createProcessingInstruction createTextNode nextgroup=typescriptFuncCallArg
syntax keyword typescriptDOMDocMethod contained enableStyleSheetsForSet evaluate execCommand nextgroup=typescriptFuncCallArg
syntax keyword typescriptDOMDocMethod contained exitPointerLock getBoxObjectFor getElementById nextgroup=typescriptFuncCallArg
syntax keyword typescriptDOMDocMethod contained getElementsByClassName getElementsByTagName nextgroup=typescriptFuncCallArg
syntax keyword typescriptDOMDocMethod contained getElementsByTagNameNS getSelection nextgroup=typescriptFuncCallArg
syntax keyword typescriptDOMDocMethod contained hasFocus importNode loadOverlay open nextgroup=typescriptFuncCallArg
syntax keyword typescriptDOMDocMethod contained queryCommandSupported querySelector nextgroup=typescriptFuncCallArg
syntax keyword typescriptDOMDocMethod contained querySelectorAll write writeln nextgroup=typescriptFuncCallArg
syntax cluster props add=typescriptDOMDocMethod
if exists("did_typescript_hilink") | HiLink typescriptDOMDocMethod Keyword
endif

27
syntax/yats/dom-elem.vim Normal file
View File

@@ -0,0 +1,27 @@
if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'typescript') != -1
finish
endif
syntax keyword typescriptDOMElemAttrs contained accessKey clientHeight clientLeft
syntax keyword typescriptDOMElemAttrs contained clientTop clientWidth id innerHTML
syntax keyword typescriptDOMElemAttrs contained length onafterscriptexecute onbeforescriptexecute
syntax keyword typescriptDOMElemAttrs contained oncopy oncut onpaste onwheel scrollHeight
syntax keyword typescriptDOMElemAttrs contained scrollLeft scrollTop scrollWidth tagName
syntax keyword typescriptDOMElemAttrs contained classList className name outerHTML
syntax keyword typescriptDOMElemAttrs contained style
if exists("did_typescript_hilink") | HiLink typescriptDOMElemAttrs Keyword
endif
syntax keyword typescriptDOMElemFuncs contained getAttributeNS getAttributeNode getAttributeNodeNS
syntax keyword typescriptDOMElemFuncs contained getBoundingClientRect getClientRects
syntax keyword typescriptDOMElemFuncs contained getElementsByClassName getElementsByTagName
syntax keyword typescriptDOMElemFuncs contained getElementsByTagNameNS hasAttribute
syntax keyword typescriptDOMElemFuncs contained hasAttributeNS insertAdjacentHTML
syntax keyword typescriptDOMElemFuncs contained matches querySelector querySelectorAll
syntax keyword typescriptDOMElemFuncs contained removeAttribute removeAttributeNS
syntax keyword typescriptDOMElemFuncs contained removeAttributeNode requestFullscreen
syntax keyword typescriptDOMElemFuncs contained requestPointerLock scrollIntoView
syntax keyword typescriptDOMElemFuncs contained setAttribute setAttributeNS setAttributeNode
syntax keyword typescriptDOMElemFuncs contained setAttributeNodeNS setCapture supports
syntax keyword typescriptDOMElemFuncs contained getAttribute
if exists("did_typescript_hilink") | HiLink typescriptDOMElemFuncs Keyword
endif

67
syntax/yats/dom-event.vim Normal file
View File

@@ -0,0 +1,67 @@
if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'typescript') != -1
finish
endif
syntax keyword typescriptDOMEventTargetMethod contained addEventListener removeEventListener nextgroup=typescriptEventFuncCallArg
syntax keyword typescriptDOMEventTargetMethod contained dispatchEvent waitUntil nextgroup=typescriptEventFuncCallArg
syntax cluster props add=typescriptDOMEventTargetMethod
if exists("did_typescript_hilink") | HiLink typescriptDOMEventTargetMethod Keyword
endif
syntax keyword typescriptDOMEventCons containedin=typescriptIdentifierName AnimationEvent
syntax keyword typescriptDOMEventCons containedin=typescriptIdentifierName AudioProcessingEvent
syntax keyword typescriptDOMEventCons containedin=typescriptIdentifierName BeforeInputEvent
syntax keyword typescriptDOMEventCons containedin=typescriptIdentifierName BeforeUnloadEvent
syntax keyword typescriptDOMEventCons containedin=typescriptIdentifierName BlobEvent
syntax keyword typescriptDOMEventCons containedin=typescriptIdentifierName ClipboardEvent
syntax keyword typescriptDOMEventCons containedin=typescriptIdentifierName CloseEvent
syntax keyword typescriptDOMEventCons containedin=typescriptIdentifierName CompositionEvent
syntax keyword typescriptDOMEventCons containedin=typescriptIdentifierName CSSFontFaceLoadEvent
syntax keyword typescriptDOMEventCons containedin=typescriptIdentifierName CustomEvent
syntax keyword typescriptDOMEventCons containedin=typescriptIdentifierName DeviceLightEvent
syntax keyword typescriptDOMEventCons containedin=typescriptIdentifierName DeviceMotionEvent
syntax keyword typescriptDOMEventCons containedin=typescriptIdentifierName DeviceOrientationEvent
syntax keyword typescriptDOMEventCons containedin=typescriptIdentifierName DeviceProximityEvent
syntax keyword typescriptDOMEventCons containedin=typescriptIdentifierName DOMTransactionEvent
syntax keyword typescriptDOMEventCons containedin=typescriptIdentifierName DragEvent
syntax keyword typescriptDOMEventCons containedin=typescriptIdentifierName EditingBeforeInputEvent
syntax keyword typescriptDOMEventCons containedin=typescriptIdentifierName ErrorEvent
syntax keyword typescriptDOMEventCons containedin=typescriptIdentifierName FocusEvent
syntax keyword typescriptDOMEventCons containedin=typescriptIdentifierName GamepadEvent
syntax keyword typescriptDOMEventCons containedin=typescriptIdentifierName HashChangeEvent
syntax keyword typescriptDOMEventCons containedin=typescriptIdentifierName IDBVersionChangeEvent
syntax keyword typescriptDOMEventCons containedin=typescriptIdentifierName KeyboardEvent
syntax keyword typescriptDOMEventCons containedin=typescriptIdentifierName MediaStreamEvent
syntax keyword typescriptDOMEventCons containedin=typescriptIdentifierName MessageEvent
syntax keyword typescriptDOMEventCons containedin=typescriptIdentifierName MouseEvent
syntax keyword typescriptDOMEventCons containedin=typescriptIdentifierName MutationEvent
syntax keyword typescriptDOMEventCons containedin=typescriptIdentifierName OfflineAudioCompletionEvent
syntax keyword typescriptDOMEventCons containedin=typescriptIdentifierName PageTransitionEvent
syntax keyword typescriptDOMEventCons containedin=typescriptIdentifierName PointerEvent
syntax keyword typescriptDOMEventCons containedin=typescriptIdentifierName PopStateEvent
syntax keyword typescriptDOMEventCons containedin=typescriptIdentifierName ProgressEvent
syntax keyword typescriptDOMEventCons containedin=typescriptIdentifierName RelatedEvent
syntax keyword typescriptDOMEventCons containedin=typescriptIdentifierName RTCPeerConnectionIceEvent
syntax keyword typescriptDOMEventCons containedin=typescriptIdentifierName SensorEvent
syntax keyword typescriptDOMEventCons containedin=typescriptIdentifierName StorageEvent
syntax keyword typescriptDOMEventCons containedin=typescriptIdentifierName SVGEvent
syntax keyword typescriptDOMEventCons containedin=typescriptIdentifierName SVGZoomEvent
syntax keyword typescriptDOMEventCons containedin=typescriptIdentifierName TimeEvent
syntax keyword typescriptDOMEventCons containedin=typescriptIdentifierName TouchEvent
syntax keyword typescriptDOMEventCons containedin=typescriptIdentifierName TrackEvent
syntax keyword typescriptDOMEventCons containedin=typescriptIdentifierName TransitionEvent
syntax keyword typescriptDOMEventCons containedin=typescriptIdentifierName UIEvent
syntax keyword typescriptDOMEventCons containedin=typescriptIdentifierName UserProximityEvent
syntax keyword typescriptDOMEventCons containedin=typescriptIdentifierName WheelEvent
if exists("did_typescript_hilink") | HiLink typescriptDOMEventCons Structure
endif
syntax keyword typescriptDOMEventProp contained bubbles cancelable currentTarget defaultPrevented
syntax keyword typescriptDOMEventProp contained eventPhase target timeStamp type isTrusted
syntax keyword typescriptDOMEventProp contained isReload
syntax cluster props add=typescriptDOMEventProp
if exists("did_typescript_hilink") | HiLink typescriptDOMEventProp Keyword
endif
syntax keyword typescriptDOMEventMethod contained initEvent preventDefault stopImmediatePropagation nextgroup=typescriptEventFuncCallArg
syntax keyword typescriptDOMEventMethod contained stopPropagation respondWith default nextgroup=typescriptEventFuncCallArg
syntax cluster props add=typescriptDOMEventMethod
if exists("did_typescript_hilink") | HiLink typescriptDOMEventMethod Keyword
endif

13
syntax/yats/dom-form.vim Normal file
View File

@@ -0,0 +1,13 @@
if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'typescript') != -1
finish
endif
syntax keyword typescriptDOMFormProp contained acceptCharset action elements encoding
syntax keyword typescriptDOMFormProp contained enctype length method name target
syntax cluster props add=typescriptDOMFormProp
if exists("did_typescript_hilink") | HiLink typescriptDOMFormProp Keyword
endif
syntax keyword typescriptDOMFormMethod contained reportValidity reset submit nextgroup=typescriptFuncCallArg
syntax cluster props add=typescriptDOMFormMethod
if exists("did_typescript_hilink") | HiLink typescriptDOMFormMethod Keyword
endif

29
syntax/yats/dom-node.vim Normal file
View File

@@ -0,0 +1,29 @@
if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'typescript') != -1
finish
endif
syntax keyword typescriptDOMNodeProp contained attributes baseURI baseURIObject childNodes
syntax keyword typescriptDOMNodeProp contained firstChild lastChild localName namespaceURI
syntax keyword typescriptDOMNodeProp contained nextSibling nodeName nodePrincipal
syntax keyword typescriptDOMNodeProp contained nodeType nodeValue ownerDocument parentElement
syntax keyword typescriptDOMNodeProp contained parentNode prefix previousSibling textContent
syntax cluster props add=typescriptDOMNodeProp
if exists("did_typescript_hilink") | HiLink typescriptDOMNodeProp Keyword
endif
syntax keyword typescriptDOMNodeMethod contained appendChild cloneNode compareDocumentPosition nextgroup=typescriptFuncCallArg
syntax keyword typescriptDOMNodeMethod contained getUserData hasAttributes hasChildNodes nextgroup=typescriptFuncCallArg
syntax keyword typescriptDOMNodeMethod contained insertBefore isDefaultNamespace isEqualNode nextgroup=typescriptFuncCallArg
syntax keyword typescriptDOMNodeMethod contained isSameNode isSupported lookupNamespaceURI nextgroup=typescriptFuncCallArg
syntax keyword typescriptDOMNodeMethod contained lookupPrefix normalize removeChild nextgroup=typescriptFuncCallArg
syntax keyword typescriptDOMNodeMethod contained replaceChild setUserData nextgroup=typescriptFuncCallArg
syntax match typescriptDOMNodeMethod contained /contains/
syntax cluster props add=typescriptDOMNodeMethod
if exists("did_typescript_hilink") | HiLink typescriptDOMNodeMethod Keyword
endif
syntax keyword typescriptDOMNodeType contained ELEMENT_NODE ATTRIBUTE_NODE TEXT_NODE
syntax keyword typescriptDOMNodeType contained CDATA_SECTION_NODEN_NODE ENTITY_REFERENCE_NODE
syntax keyword typescriptDOMNodeType contained ENTITY_NODE PROCESSING_INSTRUCTION_NODEN_NODE
syntax keyword typescriptDOMNodeType contained COMMENT_NODE DOCUMENT_NODE DOCUMENT_TYPE_NODE
syntax keyword typescriptDOMNodeType contained DOCUMENT_FRAGMENT_NODE NOTATION_NODE
if exists("did_typescript_hilink") | HiLink typescriptDOMNodeType Keyword
endif

View File

@@ -0,0 +1,16 @@
if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'typescript') != -1
finish
endif
syntax keyword typescriptDOMStorage contained sessionStorage localStorage
if exists("did_typescript_hilink") | HiLink typescriptDOMStorage Keyword
endif
syntax keyword typescriptDOMStorageProp contained length
syntax cluster props add=typescriptDOMStorageProp
if exists("did_typescript_hilink") | HiLink typescriptDOMStorageProp Keyword
endif
syntax keyword typescriptDOMStorageMethod contained getItem key setItem removeItem nextgroup=typescriptFuncCallArg
syntax keyword typescriptDOMStorageMethod contained clear nextgroup=typescriptFuncCallArg
syntax cluster props add=typescriptDOMStorageMethod
if exists("did_typescript_hilink") | HiLink typescriptDOMStorageMethod Keyword
endif

10
syntax/yats/ecma-402.vim Normal file
View File

@@ -0,0 +1,10 @@
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

18
syntax/yats/es6-array.vim Normal file
View File

@@ -0,0 +1,18 @@
if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'typescript') != -1
finish
endif
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
if exists("did_typescript_hilink") | HiLink typescriptArrayStaticMethod Keyword
endif
syntax keyword typescriptArrayMethod contained concat copyWithin entries every fill nextgroup=typescriptFuncCallArg
syntax keyword typescriptArrayMethod contained filter find findIndex forEach indexOf nextgroup=typescriptFuncCallArg
syntax keyword typescriptArrayMethod contained includes join keys lastIndexOf map nextgroup=typescriptFuncCallArg
syntax keyword typescriptArrayMethod contained pop push reduce reduceRight reverse nextgroup=typescriptFuncCallArg
syntax keyword typescriptArrayMethod contained shift slice some sort splice toLocaleString nextgroup=typescriptFuncCallArg
syntax keyword typescriptArrayMethod contained toSource toString unshift nextgroup=typescriptFuncCallArg
syntax cluster props add=typescriptArrayMethod
if exists("did_typescript_hilink") | HiLink typescriptArrayMethod Keyword
endif

26
syntax/yats/es6-date.vim Normal file
View File

@@ -0,0 +1,26 @@
if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'typescript') != -1
finish
endif
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
if exists("did_typescript_hilink") | HiLink typescriptDateStaticMethod Keyword
endif
syntax keyword typescriptDateMethod contained getDate getDay getFullYear getHours nextgroup=typescriptFuncCallArg
syntax keyword typescriptDateMethod contained getMilliseconds getMinutes getMonth nextgroup=typescriptFuncCallArg
syntax keyword typescriptDateMethod contained getSeconds getTime getTimezoneOffset nextgroup=typescriptFuncCallArg
syntax keyword typescriptDateMethod contained getUTCDate getUTCDay getUTCFullYear nextgroup=typescriptFuncCallArg
syntax keyword typescriptDateMethod contained getUTCHours getUTCMilliseconds getUTCMinutes nextgroup=typescriptFuncCallArg
syntax keyword typescriptDateMethod contained getUTCMonth getUTCSeconds setDate setFullYear nextgroup=typescriptFuncCallArg
syntax keyword typescriptDateMethod contained setHours setMilliseconds setMinutes nextgroup=typescriptFuncCallArg
syntax keyword typescriptDateMethod contained setMonth setSeconds setTime setUTCDate nextgroup=typescriptFuncCallArg
syntax keyword typescriptDateMethod contained setUTCFullYear setUTCHours setUTCMilliseconds nextgroup=typescriptFuncCallArg
syntax keyword typescriptDateMethod contained setUTCMinutes setUTCMonth setUTCSeconds nextgroup=typescriptFuncCallArg
syntax keyword typescriptDateMethod contained toDateString toISOString toJSON toLocaleDateString nextgroup=typescriptFuncCallArg
syntax keyword typescriptDateMethod contained toLocaleFormat toLocaleString toLocaleTimeString nextgroup=typescriptFuncCallArg
syntax keyword typescriptDateMethod contained toSource toString toTimeString toUTCString nextgroup=typescriptFuncCallArg
syntax keyword typescriptDateMethod contained valueOf nextgroup=typescriptFuncCallArg
syntax cluster props add=typescriptDateMethod
if exists("did_typescript_hilink") | HiLink typescriptDateMethod Keyword
endif

View File

@@ -0,0 +1,9 @@
if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'typescript') != -1
finish
endif
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

9
syntax/yats/es6-json.vim Normal file
View File

@@ -0,0 +1,9 @@
if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'typescript') != -1
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

14
syntax/yats/es6-map.vim Normal file
View File

@@ -0,0 +1,14 @@
if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'typescript') != -1
finish
endif
syntax keyword typescriptGlobal containedin=typescriptIdentifierName Map WeakMap
syntax keyword typescriptES6MapProp contained size
syntax cluster props add=typescriptES6MapProp
if exists("did_typescript_hilink") | HiLink typescriptES6MapProp Keyword
endif
syntax keyword typescriptES6MapMethod contained clear delete entries forEach get has nextgroup=typescriptFuncCallArg
syntax keyword typescriptES6MapMethod contained keys set values nextgroup=typescriptFuncCallArg
syntax cluster props add=typescriptES6MapMethod
if exists("did_typescript_hilink") | HiLink typescriptES6MapMethod Keyword
endif

18
syntax/yats/es6-math.vim Normal file
View File

@@ -0,0 +1,18 @@
if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'typescript') != -1
finish
endif
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
syntax keyword typescriptMathStaticProp contained SQRT2
if exists("did_typescript_hilink") | HiLink typescriptMathStaticProp Keyword
endif
syntax keyword typescriptMathStaticMethod contained abs acos acosh asin asinh atan nextgroup=typescriptFuncCallArg
syntax keyword typescriptMathStaticMethod contained atan2 atanh cbrt ceil clz32 cos nextgroup=typescriptFuncCallArg
syntax keyword typescriptMathStaticMethod contained cosh exp expm1 floor fround hypot nextgroup=typescriptFuncCallArg
syntax keyword typescriptMathStaticMethod contained imul log log10 log1p log2 max nextgroup=typescriptFuncCallArg
syntax keyword typescriptMathStaticMethod contained min pow random round sign sin nextgroup=typescriptFuncCallArg
syntax keyword typescriptMathStaticMethod contained sinh sqrt tan tanh trunc nextgroup=typescriptFuncCallArg
if exists("did_typescript_hilink") | HiLink typescriptMathStaticMethod Keyword
endif

View File

@@ -0,0 +1,20 @@
if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'typescript') != -1
finish
endif
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
syntax keyword typescriptNumberStaticProp contained MIN_SAFE_INTEGER MIN_VALUE NEGATIVE_INFINITY
syntax keyword typescriptNumberStaticProp contained NaN POSITIVE_INFINITY
if exists("did_typescript_hilink") | HiLink typescriptNumberStaticProp Keyword
endif
syntax keyword typescriptNumberStaticMethod contained isFinite isInteger isNaN isSafeInteger nextgroup=typescriptFuncCallArg
syntax keyword typescriptNumberStaticMethod contained parseFloat parseInt nextgroup=typescriptFuncCallArg
if exists("did_typescript_hilink") | HiLink typescriptNumberStaticMethod Keyword
endif
syntax keyword typescriptNumberMethod contained toExponential toFixed toLocaleString nextgroup=typescriptFuncCallArg
syntax keyword typescriptNumberMethod contained toPrecision toSource toString valueOf nextgroup=typescriptFuncCallArg
syntax cluster props add=typescriptNumberMethod
if exists("did_typescript_hilink") | HiLink typescriptNumberMethod Keyword
endif

View File

@@ -0,0 +1,21 @@
if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'typescript') != -1
finish
endif
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
syntax keyword typescriptObjectStaticMethod contained entries freeze getOwnPropertyDescriptors nextgroup=typescriptFuncCallArg
syntax keyword typescriptObjectStaticMethod contained getOwnPropertyDescriptor getOwnPropertyNames nextgroup=typescriptFuncCallArg
syntax keyword typescriptObjectStaticMethod contained getOwnPropertySymbols getPrototypeOf nextgroup=typescriptFuncCallArg
syntax keyword typescriptObjectStaticMethod contained is isExtensible isFrozen isSealed nextgroup=typescriptFuncCallArg
syntax keyword typescriptObjectStaticMethod contained keys preventExtensions values nextgroup=typescriptFuncCallArg
if exists("did_typescript_hilink") | HiLink typescriptObjectStaticMethod Keyword
endif
syntax keyword typescriptObjectMethod contained getOwnPropertyDescriptors hasOwnProperty nextgroup=typescriptFuncCallArg
syntax keyword typescriptObjectMethod contained isPrototypeOf propertyIsEnumerable nextgroup=typescriptFuncCallArg
syntax keyword typescriptObjectMethod contained toLocaleString toString valueOf seal nextgroup=typescriptFuncCallArg
syntax keyword typescriptObjectMethod contained setPrototypeOf nextgroup=typescriptFuncCallArg
syntax cluster props add=typescriptObjectMethod
if exists("did_typescript_hilink") | HiLink typescriptObjectMethod Keyword
endif

View File

@@ -0,0 +1,13 @@
if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'typescript') != -1
finish
endif
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
if exists("did_typescript_hilink") | HiLink typescriptPromiseStaticMethod Keyword
endif
syntax keyword typescriptPromiseMethod contained then catch finally nextgroup=typescriptFuncCallArg
syntax cluster props add=typescriptPromiseMethod
if exists("did_typescript_hilink") | HiLink typescriptPromiseMethod Keyword
endif

11
syntax/yats/es6-proxy.vim Normal file
View File

@@ -0,0 +1,11 @@
if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'typescript') != -1
finish
endif
syntax keyword typescriptGlobal containedin=typescriptIdentifierName Proxy
syntax keyword typescriptProxyAPI contained getOwnPropertyDescriptor getOwnPropertyNames
syntax keyword typescriptProxyAPI contained defineProperty deleteProperty freeze seal
syntax keyword typescriptProxyAPI contained preventExtensions has hasOwn get set enumerate
syntax keyword typescriptProxyAPI contained iterate ownKeys apply construct
if exists("did_typescript_hilink") | HiLink typescriptProxyAPI Keyword
endif

View File

@@ -0,0 +1,12 @@
if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'typescript') != -1
finish
endif
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
syntax keyword typescriptReflectMethod contained getPrototypeOf has isExtensible ownKeys nextgroup=typescriptFuncCallArg
syntax keyword typescriptReflectMethod contained preventExtensions set setPrototypeOf nextgroup=typescriptFuncCallArg
syntax cluster props add=typescriptReflectMethod
if exists("did_typescript_hilink") | HiLink typescriptReflectMethod Keyword
endif

View File

@@ -0,0 +1,17 @@
if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'typescript') != -1
finish
endif
syntax keyword typescriptGlobal containedin=typescriptIdentifierName RegExp nextgroup=typescriptGlobalRegExpDot,typescriptFuncCallArg
syntax match typescriptGlobalRegExpDot /\./ contained nextgroup=typescriptRegExpStaticProp,typescriptProp
syntax keyword typescriptRegExpStaticProp contained lastIndex
if exists("did_typescript_hilink") | HiLink typescriptRegExpStaticProp Keyword
endif
syntax keyword typescriptRegExpProp contained global ignoreCase multiline source sticky
syntax cluster props add=typescriptRegExpProp
if exists("did_typescript_hilink") | HiLink typescriptRegExpProp Keyword
endif
syntax keyword typescriptRegExpMethod contained exec test nextgroup=typescriptFuncCallArg
syntax cluster props add=typescriptRegExpMethod
if exists("did_typescript_hilink") | HiLink typescriptRegExpMethod Keyword
endif

14
syntax/yats/es6-set.vim Normal file
View File

@@ -0,0 +1,14 @@
if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'typescript') != -1
finish
endif
syntax keyword typescriptGlobal containedin=typescriptIdentifierName Set WeakSet
syntax keyword typescriptES6SetProp contained size
syntax cluster props add=typescriptES6SetProp
if exists("did_typescript_hilink") | HiLink typescriptES6SetProp Keyword
endif
syntax keyword typescriptES6SetMethod contained add clear delete entries forEach has nextgroup=typescriptFuncCallArg
syntax keyword typescriptES6SetMethod contained values nextgroup=typescriptFuncCallArg
syntax cluster props add=typescriptES6SetMethod
if exists("did_typescript_hilink") | HiLink typescriptES6SetMethod Keyword
endif

View File

@@ -0,0 +1,20 @@
if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'typescript') != -1
finish
endif
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
if exists("did_typescript_hilink") | HiLink typescriptStringStaticMethod Keyword
endif
syntax keyword typescriptStringMethod contained anchor charAt charCodeAt codePointAt nextgroup=typescriptFuncCallArg
syntax keyword typescriptStringMethod contained concat endsWith includes indexOf lastIndexOf nextgroup=typescriptFuncCallArg
syntax keyword typescriptStringMethod contained link localeCompare match normalize nextgroup=typescriptFuncCallArg
syntax keyword typescriptStringMethod contained padStart padEnd repeat replace search nextgroup=typescriptFuncCallArg
syntax keyword typescriptStringMethod contained slice split startsWith substr substring nextgroup=typescriptFuncCallArg
syntax keyword typescriptStringMethod contained toLocaleLowerCase toLocaleUpperCase nextgroup=typescriptFuncCallArg
syntax keyword typescriptStringMethod contained toLowerCase toString toUpperCase trim nextgroup=typescriptFuncCallArg
syntax keyword typescriptStringMethod contained valueOf nextgroup=typescriptFuncCallArg
syntax cluster props add=typescriptStringMethod
if exists("did_typescript_hilink") | HiLink typescriptStringMethod Keyword
endif

View File

@@ -0,0 +1,15 @@
if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'typescript') != -1
finish
endif
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
syntax keyword typescriptSymbolStaticProp contained search split hasInstance isConcatSpreadable
syntax keyword typescriptSymbolStaticProp contained unscopables species toPrimitive
syntax keyword typescriptSymbolStaticProp contained toStringTag
if exists("did_typescript_hilink") | HiLink typescriptSymbolStaticProp Keyword
endif
syntax keyword typescriptSymbolStaticMethod contained for keyFor nextgroup=typescriptFuncCallArg
if exists("did_typescript_hilink") | HiLink typescriptSymbolStaticMethod Keyword
endif

163
syntax/yats/event.vim Normal file
View File

@@ -0,0 +1,163 @@
if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'typescript') != -1
finish
endif
syntax keyword typescriptAnimationEvent contained animationend animationiteration
syntax keyword typescriptAnimationEvent contained animationstart beginEvent endEvent
syntax keyword typescriptAnimationEvent contained repeatEvent
syntax cluster events add=typescriptAnimationEvent
if exists("did_typescript_hilink") | HiLink typescriptAnimationEvent Title
endif
syntax keyword typescriptCSSEvent contained CssRuleViewRefreshed CssRuleViewChanged
syntax keyword typescriptCSSEvent contained CssRuleViewCSSLinkClicked transitionend
syntax cluster events add=typescriptCSSEvent
if exists("did_typescript_hilink") | HiLink typescriptCSSEvent Title
endif
syntax keyword typescriptDatabaseEvent contained blocked complete error success upgradeneeded
syntax keyword typescriptDatabaseEvent contained versionchange
syntax cluster events add=typescriptDatabaseEvent
if exists("did_typescript_hilink") | HiLink typescriptDatabaseEvent Title
endif
syntax keyword typescriptDocumentEvent contained DOMLinkAdded DOMLinkRemoved DOMMetaAdded
syntax keyword typescriptDocumentEvent contained DOMMetaRemoved DOMWillOpenModalDialog
syntax keyword typescriptDocumentEvent contained DOMModalDialogClosed unload
syntax cluster events add=typescriptDocumentEvent
if exists("did_typescript_hilink") | HiLink typescriptDocumentEvent Title
endif
syntax keyword typescriptDOMMutationEvent contained DOMAttributeNameChanged DOMAttrModified
syntax keyword typescriptDOMMutationEvent contained DOMCharacterDataModified DOMContentLoaded
syntax keyword typescriptDOMMutationEvent contained DOMElementNameChanged DOMNodeInserted
syntax keyword typescriptDOMMutationEvent contained DOMNodeInsertedIntoDocument DOMNodeRemoved
syntax keyword typescriptDOMMutationEvent contained DOMNodeRemovedFromDocument DOMSubtreeModified
syntax cluster events add=typescriptDOMMutationEvent
if exists("did_typescript_hilink") | HiLink typescriptDOMMutationEvent Title
endif
syntax keyword typescriptDragEvent contained drag dragdrop dragend dragenter dragexit
syntax keyword typescriptDragEvent contained draggesture dragleave dragover dragstart
syntax keyword typescriptDragEvent contained drop
syntax cluster events add=typescriptDragEvent
if exists("did_typescript_hilink") | HiLink typescriptDragEvent Title
endif
syntax keyword typescriptElementEvent contained invalid overflow underflow DOMAutoComplete
syntax keyword typescriptElementEvent contained command commandupdate
syntax cluster events add=typescriptElementEvent
if exists("did_typescript_hilink") | HiLink typescriptElementEvent Title
endif
syntax keyword typescriptFocusEvent contained blur change DOMFocusIn DOMFocusOut focus
syntax keyword typescriptFocusEvent contained focusin focusout
syntax cluster events add=typescriptFocusEvent
if exists("did_typescript_hilink") | HiLink typescriptFocusEvent Title
endif
syntax keyword typescriptFormEvent contained reset submit
syntax cluster events add=typescriptFormEvent
if exists("did_typescript_hilink") | HiLink typescriptFormEvent Title
endif
syntax keyword typescriptFrameEvent contained DOMFrameContentLoaded
syntax cluster events add=typescriptFrameEvent
if exists("did_typescript_hilink") | HiLink typescriptFrameEvent Title
endif
syntax keyword typescriptInputDeviceEvent contained click contextmenu DOMMouseScroll
syntax keyword typescriptInputDeviceEvent contained dblclick gamepadconnected gamepaddisconnected
syntax keyword typescriptInputDeviceEvent contained keydown keypress keyup MozGamepadButtonDown
syntax keyword typescriptInputDeviceEvent contained MozGamepadButtonUp mousedown mouseenter
syntax keyword typescriptInputDeviceEvent contained mouseleave mousemove mouseout
syntax keyword typescriptInputDeviceEvent contained mouseover mouseup mousewheel MozMousePixelScroll
syntax keyword typescriptInputDeviceEvent contained pointerlockchange pointerlockerror
syntax keyword typescriptInputDeviceEvent contained wheel
syntax cluster events add=typescriptInputDeviceEvent
if exists("did_typescript_hilink") | HiLink typescriptInputDeviceEvent Title
endif
syntax keyword typescriptMediaEvent contained audioprocess canplay canplaythrough
syntax keyword typescriptMediaEvent contained durationchange emptied ended ended loadeddata
syntax keyword typescriptMediaEvent contained loadedmetadata MozAudioAvailable pause
syntax keyword typescriptMediaEvent contained play playing ratechange seeked seeking
syntax keyword typescriptMediaEvent contained stalled suspend timeupdate volumechange
syntax keyword typescriptMediaEvent contained waiting complete
syntax cluster events add=typescriptMediaEvent
if exists("did_typescript_hilink") | HiLink typescriptMediaEvent Title
endif
syntax keyword typescriptMenuEvent contained DOMMenuItemActive DOMMenuItemInactive
syntax cluster events add=typescriptMenuEvent
if exists("did_typescript_hilink") | HiLink typescriptMenuEvent Title
endif
syntax keyword typescriptNetworkEvent contained datachange dataerror disabled enabled
syntax keyword typescriptNetworkEvent contained offline online statuschange connectionInfoUpdate
syntax cluster events add=typescriptNetworkEvent
if exists("did_typescript_hilink") | HiLink typescriptNetworkEvent Title
endif
syntax keyword typescriptProgressEvent contained abort error load loadend loadstart
syntax keyword typescriptProgressEvent contained progress timeout uploadprogress
syntax cluster events add=typescriptProgressEvent
if exists("did_typescript_hilink") | HiLink typescriptProgressEvent Title
endif
syntax keyword typescriptResourceEvent contained cached error load
syntax cluster events add=typescriptResourceEvent
if exists("did_typescript_hilink") | HiLink typescriptResourceEvent Title
endif
syntax keyword typescriptScriptEvent contained afterscriptexecute beforescriptexecute
syntax cluster events add=typescriptScriptEvent
if exists("did_typescript_hilink") | HiLink typescriptScriptEvent Title
endif
syntax keyword typescriptSensorEvent contained compassneedscalibration devicelight
syntax keyword typescriptSensorEvent contained devicemotion deviceorientation deviceproximity
syntax keyword typescriptSensorEvent contained orientationchange userproximity
syntax cluster events add=typescriptSensorEvent
if exists("did_typescript_hilink") | HiLink typescriptSensorEvent Title
endif
syntax keyword typescriptSessionHistoryEvent contained pagehide pageshow popstate
syntax cluster events add=typescriptSessionHistoryEvent
if exists("did_typescript_hilink") | HiLink typescriptSessionHistoryEvent Title
endif
syntax keyword typescriptStorageEvent contained change storage
syntax cluster events add=typescriptStorageEvent
if exists("did_typescript_hilink") | HiLink typescriptStorageEvent Title
endif
syntax keyword typescriptSVGEvent contained SVGAbort SVGError SVGLoad SVGResize SVGScroll
syntax keyword typescriptSVGEvent contained SVGUnload SVGZoom
syntax cluster events add=typescriptSVGEvent
if exists("did_typescript_hilink") | HiLink typescriptSVGEvent Title
endif
syntax keyword typescriptTabEvent contained visibilitychange
syntax cluster events add=typescriptTabEvent
if exists("did_typescript_hilink") | HiLink typescriptTabEvent Title
endif
syntax keyword typescriptTextEvent contained compositionend compositionstart compositionupdate
syntax keyword typescriptTextEvent contained copy cut paste select text
syntax cluster events add=typescriptTextEvent
if exists("did_typescript_hilink") | HiLink typescriptTextEvent Title
endif
syntax keyword typescriptTouchEvent contained touchcancel touchend touchenter touchleave
syntax keyword typescriptTouchEvent contained touchmove touchstart
syntax cluster events add=typescriptTouchEvent
if exists("did_typescript_hilink") | HiLink typescriptTouchEvent Title
endif
syntax keyword typescriptUpdateEvent contained checking downloading error noupdate
syntax keyword typescriptUpdateEvent contained obsolete updateready
syntax cluster events add=typescriptUpdateEvent
if exists("did_typescript_hilink") | HiLink typescriptUpdateEvent Title
endif
syntax keyword typescriptValueChangeEvent contained hashchange input readystatechange
syntax cluster events add=typescriptValueChangeEvent
if exists("did_typescript_hilink") | HiLink typescriptValueChangeEvent Title
endif
syntax keyword typescriptViewEvent contained fullscreen fullscreenchange fullscreenerror
syntax keyword typescriptViewEvent contained resize scroll
syntax cluster events add=typescriptViewEvent
if exists("did_typescript_hilink") | HiLink typescriptViewEvent Title
endif
syntax keyword typescriptWebsocketEvent contained close error message open
syntax cluster events add=typescriptWebsocketEvent
if exists("did_typescript_hilink") | HiLink typescriptWebsocketEvent Title
endif
syntax keyword typescriptWindowEvent contained DOMWindowCreated DOMWindowClose DOMTitleChanged
syntax cluster events add=typescriptWindowEvent
if exists("did_typescript_hilink") | HiLink typescriptWindowEvent Title
endif
syntax keyword typescriptUncategorizedEvent contained beforeunload message open show
syntax cluster events add=typescriptUncategorizedEvent
if exists("did_typescript_hilink") | HiLink typescriptUncategorizedEvent Title
endif
syntax keyword typescriptServiceWorkerEvent contained install activate fetch
syntax cluster events add=typescriptServiceWorkerEvent
if exists("did_typescript_hilink") | HiLink typescriptServiceWorkerEvent Title
endif

13
syntax/yats/node.vim Normal file
View File

@@ -0,0 +1,13 @@
if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'typescript') != -1
finish
endif
syntax keyword typescriptNodeGlobal containedin=typescriptIdentifierName global process
syntax keyword typescriptNodeGlobal containedin=typescriptIdentifierName console Buffer
syntax keyword typescriptNodeGlobal containedin=typescriptIdentifierName module exports
syntax keyword typescriptNodeGlobal containedin=typescriptIdentifierName setTimeout
syntax keyword typescriptNodeGlobal containedin=typescriptIdentifierName clearTimeout
syntax keyword typescriptNodeGlobal containedin=typescriptIdentifierName setInterval
syntax keyword typescriptNodeGlobal containedin=typescriptIdentifierName clearInterval
if exists("did_typescript_hilink") | HiLink typescriptNodeGlobal Structure
endif

11
syntax/yats/test.vim Normal file
View File

@@ -0,0 +1,11 @@
if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'typescript') != -1
finish
endif
syntax keyword typescriptTestGlobal containedin=typescriptIdentifierName describe
syntax keyword typescriptTestGlobal containedin=typescriptIdentifierName it test before
syntax keyword typescriptTestGlobal containedin=typescriptIdentifierName after beforeEach
syntax keyword typescriptTestGlobal containedin=typescriptIdentifierName afterEach
syntax keyword typescriptTestGlobal containedin=typescriptIdentifierName beforeAll
syntax keyword typescriptTestGlobal containedin=typescriptIdentifierName afterAll
syntax keyword typescriptTestGlobal containedin=typescriptIdentifierName expect assert

View File

@@ -0,0 +1,35 @@
if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'typescript') != -1
finish
endif
syntax keyword typescriptGlobal containedin=typescriptIdentifierName Function Boolean
syntax keyword typescriptGlobal containedin=typescriptIdentifierName Error EvalError
syntax keyword typescriptGlobal containedin=typescriptIdentifierName InternalError
syntax keyword typescriptGlobal containedin=typescriptIdentifierName RangeError ReferenceError
syntax keyword typescriptGlobal containedin=typescriptIdentifierName StopIteration
syntax keyword typescriptGlobal containedin=typescriptIdentifierName SyntaxError TypeError
syntax keyword typescriptGlobal containedin=typescriptIdentifierName URIError Date
syntax keyword typescriptGlobal containedin=typescriptIdentifierName Float32Array
syntax keyword typescriptGlobal containedin=typescriptIdentifierName Float64Array
syntax keyword typescriptGlobal containedin=typescriptIdentifierName Int16Array Int32Array
syntax keyword typescriptGlobal containedin=typescriptIdentifierName Int8Array Uint16Array
syntax keyword typescriptGlobal containedin=typescriptIdentifierName Uint32Array Uint8Array
syntax keyword typescriptGlobal containedin=typescriptIdentifierName Uint8ClampedArray
syntax keyword typescriptGlobal containedin=typescriptIdentifierName ParallelArray
syntax keyword typescriptGlobal containedin=typescriptIdentifierName ArrayBuffer DataView
syntax keyword typescriptGlobal containedin=typescriptIdentifierName Iterator Generator
syntax keyword typescriptGlobal containedin=typescriptIdentifierName Reflect Proxy
syntax keyword typescriptGlobal containedin=typescriptIdentifierName arguments
if exists("did_typescript_hilink") | HiLink typescriptGlobal Structure
endif
syntax keyword typescriptGlobalMethod containedin=typescriptIdentifierName eval uneval nextgroup=typescriptFuncCallArg
syntax keyword typescriptGlobalMethod containedin=typescriptIdentifierName isFinite nextgroup=typescriptFuncCallArg
syntax keyword typescriptGlobalMethod containedin=typescriptIdentifierName isNaN parseFloat nextgroup=typescriptFuncCallArg
syntax keyword typescriptGlobalMethod containedin=typescriptIdentifierName parseInt nextgroup=typescriptFuncCallArg
syntax keyword typescriptGlobalMethod containedin=typescriptIdentifierName decodeURI nextgroup=typescriptFuncCallArg
syntax keyword typescriptGlobalMethod containedin=typescriptIdentifierName decodeURIComponent nextgroup=typescriptFuncCallArg
syntax keyword typescriptGlobalMethod containedin=typescriptIdentifierName encodeURI nextgroup=typescriptFuncCallArg
syntax keyword typescriptGlobalMethod containedin=typescriptIdentifierName encodeURIComponent nextgroup=typescriptFuncCallArg
syntax cluster props add=typescriptGlobalMethod
if exists("did_typescript_hilink") | HiLink typescriptGlobalMethod Structure
endif

41
syntax/yats/web-blob.vim Normal file
View File

@@ -0,0 +1,41 @@
if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'typescript') != -1
finish
endif
syntax keyword typescriptGlobal containedin=typescriptIdentifierName Blob BlobBuilder
syntax keyword typescriptGlobal containedin=typescriptIdentifierName File FileReader
syntax keyword typescriptGlobal containedin=typescriptIdentifierName FileReaderSync
syntax keyword typescriptGlobal containedin=typescriptIdentifierName URL nextgroup=typescriptGlobalURLDot,typescriptFuncCallArg
syntax match typescriptGlobalURLDot /\./ contained nextgroup=typescriptURLStaticMethod,typescriptProp
syntax keyword typescriptGlobal containedin=typescriptIdentifierName URLUtils
syntax keyword typescriptFileMethod contained readAsArrayBuffer readAsBinaryString nextgroup=typescriptFuncCallArg
syntax keyword typescriptFileMethod contained readAsDataURL readAsText nextgroup=typescriptFuncCallArg
syntax cluster props add=typescriptFileMethod
if exists("did_typescript_hilink") | HiLink typescriptFileMethod Keyword
endif
syntax keyword typescriptFileReaderProp contained error readyState result
syntax cluster props add=typescriptFileReaderProp
if exists("did_typescript_hilink") | HiLink typescriptFileReaderProp Keyword
endif
syntax keyword typescriptFileReaderMethod contained abort readAsArrayBuffer readAsBinaryString nextgroup=typescriptFuncCallArg
syntax keyword typescriptFileReaderMethod contained readAsDataURL readAsText nextgroup=typescriptFuncCallArg
syntax cluster props add=typescriptFileReaderMethod
if exists("did_typescript_hilink") | HiLink typescriptFileReaderMethod Keyword
endif
syntax keyword typescriptFileListMethod contained item nextgroup=typescriptFuncCallArg
syntax cluster props add=typescriptFileListMethod
if exists("did_typescript_hilink") | HiLink typescriptFileListMethod Keyword
endif
syntax keyword typescriptBlobMethod contained append getBlob getFile nextgroup=typescriptFuncCallArg
syntax cluster props add=typescriptBlobMethod
if exists("did_typescript_hilink") | HiLink typescriptBlobMethod Keyword
endif
syntax keyword typescriptURLUtilsProp contained hash host hostname href origin password
syntax keyword typescriptURLUtilsProp contained pathname port protocol search searchParams
syntax keyword typescriptURLUtilsProp contained username
syntax cluster props add=typescriptURLUtilsProp
if exists("did_typescript_hilink") | HiLink typescriptURLUtilsProp Keyword
endif
syntax keyword typescriptURLStaticMethod contained createObjectURL revokeObjectURL nextgroup=typescriptFuncCallArg
if exists("did_typescript_hilink") | HiLink typescriptURLStaticMethod Keyword
endif

View File

@@ -0,0 +1,11 @@
if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'typescript') != -1
finish
endif
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
syntax keyword typescriptConsoleMethod contained warn nextgroup=typescriptFuncCallArg
syntax cluster props add=typescriptConsoleMethod
if exists("did_typescript_hilink") | HiLink typescriptConsoleMethod Keyword
endif

View File

@@ -0,0 +1,20 @@
if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'typescript') != -1
finish
endif
syntax keyword typescriptCryptoGlobal containedin=typescriptIdentifierName crypto
if exists("did_typescript_hilink") | HiLink typescriptCryptoGlobal Structure
endif
syntax keyword typescriptSubtleCryptoMethod contained encrypt decrypt sign verify nextgroup=typescriptFuncCallArg
syntax keyword typescriptSubtleCryptoMethod contained digest nextgroup=typescriptFuncCallArg
syntax cluster props add=typescriptSubtleCryptoMethod
if exists("did_typescript_hilink") | HiLink typescriptSubtleCryptoMethod Keyword
endif
syntax keyword typescriptCryptoProp contained subtle
syntax cluster props add=typescriptCryptoProp
if exists("did_typescript_hilink") | HiLink typescriptCryptoProp Keyword
endif
syntax keyword typescriptCryptoMethod contained getRandomValues nextgroup=typescriptFuncCallArg
syntax cluster props add=typescriptCryptoMethod
if exists("did_typescript_hilink") | HiLink typescriptCryptoMethod Keyword
endif

View File

@@ -0,0 +1,16 @@
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

32
syntax/yats/web-fetch.vim Normal file
View File

@@ -0,0 +1,32 @@
if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'typescript') != -1
finish
endif
syntax keyword typescriptGlobal containedin=typescriptIdentifierName Headers Request
syntax keyword typescriptGlobal containedin=typescriptIdentifierName Response
syntax keyword typescriptGlobalMethod containedin=typescriptIdentifierName fetch nextgroup=typescriptFuncCallArg
syntax cluster props add=typescriptGlobalMethod
if exists("did_typescript_hilink") | HiLink typescriptGlobalMethod Structure
endif
syntax keyword typescriptHeadersMethod contained append delete get getAll has set nextgroup=typescriptFuncCallArg
syntax cluster props add=typescriptHeadersMethod
if exists("did_typescript_hilink") | HiLink typescriptHeadersMethod Keyword
endif
syntax keyword typescriptRequestProp contained method url headers context referrer
syntax keyword typescriptRequestProp contained mode credentials cache
syntax cluster props add=typescriptRequestProp
if exists("did_typescript_hilink") | HiLink typescriptRequestProp Keyword
endif
syntax keyword typescriptRequestMethod contained clone nextgroup=typescriptFuncCallArg
syntax cluster props add=typescriptRequestMethod
if exists("did_typescript_hilink") | HiLink typescriptRequestMethod Keyword
endif
syntax keyword typescriptResponseProp contained type url status statusText headers
syntax keyword typescriptResponseProp contained redirected
syntax cluster props add=typescriptResponseProp
if exists("did_typescript_hilink") | HiLink typescriptResponseProp Keyword
endif
syntax keyword typescriptResponseMethod contained clone nextgroup=typescriptFuncCallArg
syntax cluster props add=typescriptResponseMethod
if exists("did_typescript_hilink") | HiLink typescriptResponseMethod Keyword
endif

10
syntax/yats/web-geo.vim Normal file
View File

@@ -0,0 +1,10 @@
if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'typescript') != -1
finish
endif
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

View File

@@ -0,0 +1,13 @@
if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'typescript') != -1
finish
endif
syntax keyword typescriptBOMHistoryProp contained length current next previous state
syntax keyword typescriptBOMHistoryProp contained scrollRestoration
syntax cluster props add=typescriptBOMHistoryProp
if exists("did_typescript_hilink") | HiLink typescriptBOMHistoryProp Keyword
endif
syntax keyword typescriptBOMHistoryMethod contained back forward go pushState replaceState nextgroup=typescriptFuncCallArg
syntax cluster props add=typescriptBOMHistoryMethod
if exists("did_typescript_hilink") | HiLink typescriptBOMHistoryMethod Keyword
endif

View File

@@ -0,0 +1,14 @@
if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'typescript') != -1
finish
endif
syntax keyword typescriptBOMLocationProp contained href protocol host hostname port
syntax keyword typescriptBOMLocationProp contained pathname search hash username password
syntax keyword typescriptBOMLocationProp contained origin
syntax cluster props add=typescriptBOMLocationProp
if exists("did_typescript_hilink") | HiLink typescriptBOMLocationProp Keyword
endif
syntax keyword typescriptBOMLocationMethod contained assign reload replace toString nextgroup=typescriptFuncCallArg
syntax cluster props add=typescriptBOMLocationMethod
if exists("did_typescript_hilink") | HiLink typescriptBOMLocationMethod Keyword
endif

View File

@@ -0,0 +1,24 @@
if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'typescript') != -1
finish
endif
syntax keyword typescriptBOMNavigatorProp contained battery buildID connection cookieEnabled
syntax keyword typescriptBOMNavigatorProp contained doNotTrack maxTouchPoints oscpu
syntax keyword typescriptBOMNavigatorProp contained productSub push serviceWorker
syntax keyword typescriptBOMNavigatorProp contained vendor vendorSub
syntax cluster props add=typescriptBOMNavigatorProp
if exists("did_typescript_hilink") | HiLink typescriptBOMNavigatorProp Keyword
endif
syntax keyword typescriptBOMNavigatorMethod contained addIdleObserver geolocation nextgroup=typescriptFuncCallArg
syntax keyword typescriptBOMNavigatorMethod contained getDeviceStorage getDeviceStorages nextgroup=typescriptFuncCallArg
syntax keyword typescriptBOMNavigatorMethod contained getGamepads getUserMedia registerContentHandler nextgroup=typescriptFuncCallArg
syntax keyword typescriptBOMNavigatorMethod contained removeIdleObserver requestWakeLock nextgroup=typescriptFuncCallArg
syntax keyword typescriptBOMNavigatorMethod contained share vibrate watch registerProtocolHandler nextgroup=typescriptFuncCallArg
syntax keyword typescriptBOMNavigatorMethod contained sendBeacon nextgroup=typescriptFuncCallArg
syntax cluster props add=typescriptBOMNavigatorMethod
if exists("did_typescript_hilink") | HiLink typescriptBOMNavigatorMethod Keyword
endif
syntax keyword typescriptServiceWorkerMethod contained register nextgroup=typescriptFuncCallArg
syntax cluster props add=typescriptServiceWorkerMethod
if exists("did_typescript_hilink") | HiLink typescriptServiceWorkerMethod Keyword
endif

View File

@@ -0,0 +1,10 @@
if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'typescript') != -1
finish
endif
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

View File

@@ -0,0 +1,37 @@
if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'typescript') != -1
finish
endif
syntax keyword typescriptGlobal containedin=typescriptIdentifierName PaymentRequest
syntax keyword typescriptPaymentMethod contained show abort canMakePayment nextgroup=typescriptFuncCallArg
syntax cluster props add=typescriptPaymentMethod
if exists("did_typescript_hilink") | HiLink typescriptPaymentMethod Keyword
endif
syntax keyword typescriptPaymentProp contained shippingAddress shippingOption result
syntax cluster props add=typescriptPaymentProp
if exists("did_typescript_hilink") | HiLink typescriptPaymentProp Keyword
endif
syntax keyword typescriptPaymentEvent contained onshippingaddresschange onshippingoptionchange
if exists("did_typescript_hilink") | HiLink typescriptPaymentEvent Keyword
endif
syntax keyword typescriptPaymentResponseMethod contained complete nextgroup=typescriptFuncCallArg
syntax cluster props add=typescriptPaymentResponseMethod
if exists("did_typescript_hilink") | HiLink typescriptPaymentResponseMethod Keyword
endif
syntax keyword typescriptPaymentResponseProp contained details methodName payerEmail
syntax keyword typescriptPaymentResponseProp contained payerPhone shippingAddress
syntax keyword typescriptPaymentResponseProp contained shippingOption
syntax cluster props add=typescriptPaymentResponseProp
if exists("did_typescript_hilink") | HiLink typescriptPaymentResponseProp Keyword
endif
syntax keyword typescriptPaymentAddressProp contained addressLine careOf city country
syntax keyword typescriptPaymentAddressProp contained country dependentLocality languageCode
syntax keyword typescriptPaymentAddressProp contained organization phone postalCode
syntax keyword typescriptPaymentAddressProp contained recipient region sortingCode
syntax cluster props add=typescriptPaymentAddressProp
if exists("did_typescript_hilink") | HiLink typescriptPaymentAddressProp Keyword
endif
syntax keyword typescriptPaymentShippingOptionProp contained id label amount selected
syntax cluster props add=typescriptPaymentShippingOptionProp
if exists("did_typescript_hilink") | HiLink typescriptPaymentShippingOptionProp Keyword
endif

View File

@@ -0,0 +1,18 @@
if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'typescript') != -1
finish
endif
syntax keyword typescriptServiceWorkerProp contained controller ready
syntax cluster props add=typescriptServiceWorkerProp
if exists("did_typescript_hilink") | HiLink typescriptServiceWorkerProp Keyword
endif
syntax keyword typescriptServiceWorkerMethod contained register getRegistration nextgroup=typescriptFuncCallArg
syntax cluster props add=typescriptServiceWorkerMethod
if exists("did_typescript_hilink") | HiLink typescriptServiceWorkerMethod Keyword
endif
syntax keyword typescriptGlobal containedin=typescriptIdentifierName Cache
syntax keyword typescriptCacheMethod contained match matchAll add addAll put delete nextgroup=typescriptFuncCallArg
syntax keyword typescriptCacheMethod contained keys nextgroup=typescriptFuncCallArg
syntax cluster props add=typescriptCacheMethod
if exists("did_typescript_hilink") | HiLink typescriptCacheMethod Keyword
endif

113
syntax/yats/web-window.vim Normal file
View File

@@ -0,0 +1,113 @@
if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'typescript') != -1
finish
endif
syntax keyword typescriptBOMWindowProp containedin=typescriptIdentifierName applicationCache
syntax keyword typescriptBOMWindowProp containedin=typescriptIdentifierName closed
syntax keyword typescriptBOMWindowProp containedin=typescriptIdentifierName Components
syntax keyword typescriptBOMWindowProp containedin=typescriptIdentifierName controllers
syntax keyword typescriptBOMWindowProp containedin=typescriptIdentifierName dialogArguments
syntax keyword typescriptBOMWindowProp containedin=typescriptIdentifierName document
syntax keyword typescriptBOMWindowProp containedin=typescriptIdentifierName frameElement
syntax keyword typescriptBOMWindowProp containedin=typescriptIdentifierName frames
syntax keyword typescriptBOMWindowProp containedin=typescriptIdentifierName fullScreen
syntax keyword typescriptBOMWindowProp containedin=typescriptIdentifierName history
syntax keyword typescriptBOMWindowProp containedin=typescriptIdentifierName innerHeight
syntax keyword typescriptBOMWindowProp containedin=typescriptIdentifierName innerWidth
syntax keyword typescriptBOMWindowProp containedin=typescriptIdentifierName length
syntax keyword typescriptBOMWindowProp containedin=typescriptIdentifierName location
syntax keyword typescriptBOMWindowProp containedin=typescriptIdentifierName locationbar
syntax keyword typescriptBOMWindowProp containedin=typescriptIdentifierName menubar
syntax keyword typescriptBOMWindowProp containedin=typescriptIdentifierName messageManager
syntax keyword typescriptBOMWindowProp containedin=typescriptIdentifierName name navigator
syntax keyword typescriptBOMWindowProp containedin=typescriptIdentifierName opener
syntax keyword typescriptBOMWindowProp containedin=typescriptIdentifierName outerHeight
syntax keyword typescriptBOMWindowProp containedin=typescriptIdentifierName outerWidth
syntax keyword typescriptBOMWindowProp containedin=typescriptIdentifierName pageXOffset
syntax keyword typescriptBOMWindowProp containedin=typescriptIdentifierName pageYOffset
syntax keyword typescriptBOMWindowProp containedin=typescriptIdentifierName parent
syntax keyword typescriptBOMWindowProp containedin=typescriptIdentifierName performance
syntax keyword typescriptBOMWindowProp containedin=typescriptIdentifierName personalbar
syntax keyword typescriptBOMWindowProp containedin=typescriptIdentifierName returnValue
syntax keyword typescriptBOMWindowProp containedin=typescriptIdentifierName screen
syntax keyword typescriptBOMWindowProp containedin=typescriptIdentifierName screenX
syntax keyword typescriptBOMWindowProp containedin=typescriptIdentifierName screenY
syntax keyword typescriptBOMWindowProp containedin=typescriptIdentifierName scrollbars
syntax keyword typescriptBOMWindowProp containedin=typescriptIdentifierName scrollMaxX
syntax keyword typescriptBOMWindowProp containedin=typescriptIdentifierName scrollMaxY
syntax keyword typescriptBOMWindowProp containedin=typescriptIdentifierName scrollX
syntax keyword typescriptBOMWindowProp containedin=typescriptIdentifierName scrollY
syntax keyword typescriptBOMWindowProp containedin=typescriptIdentifierName self sidebar
syntax keyword typescriptBOMWindowProp containedin=typescriptIdentifierName status
syntax keyword typescriptBOMWindowProp containedin=typescriptIdentifierName statusbar
syntax keyword typescriptBOMWindowProp containedin=typescriptIdentifierName toolbar
syntax keyword typescriptBOMWindowProp containedin=typescriptIdentifierName top visualViewport
syntax keyword typescriptBOMWindowProp containedin=typescriptIdentifierName window
syntax cluster props add=typescriptBOMWindowProp
if exists("did_typescript_hilink") | HiLink typescriptBOMWindowProp Structure
endif
syntax keyword typescriptBOMWindowMethod containedin=typescriptIdentifierName alert nextgroup=typescriptFuncCallArg
syntax keyword typescriptBOMWindowMethod containedin=typescriptIdentifierName atob nextgroup=typescriptFuncCallArg
syntax keyword typescriptBOMWindowMethod containedin=typescriptIdentifierName blur nextgroup=typescriptFuncCallArg
syntax keyword typescriptBOMWindowMethod containedin=typescriptIdentifierName btoa nextgroup=typescriptFuncCallArg
syntax keyword typescriptBOMWindowMethod containedin=typescriptIdentifierName clearImmediate nextgroup=typescriptFuncCallArg
syntax keyword typescriptBOMWindowMethod containedin=typescriptIdentifierName clearInterval nextgroup=typescriptFuncCallArg
syntax keyword typescriptBOMWindowMethod containedin=typescriptIdentifierName clearTimeout nextgroup=typescriptFuncCallArg
syntax keyword typescriptBOMWindowMethod containedin=typescriptIdentifierName close nextgroup=typescriptFuncCallArg
syntax keyword typescriptBOMWindowMethod containedin=typescriptIdentifierName confirm nextgroup=typescriptFuncCallArg
syntax keyword typescriptBOMWindowMethod containedin=typescriptIdentifierName dispatchEvent nextgroup=typescriptFuncCallArg
syntax keyword typescriptBOMWindowMethod containedin=typescriptIdentifierName find nextgroup=typescriptFuncCallArg
syntax keyword typescriptBOMWindowMethod containedin=typescriptIdentifierName focus nextgroup=typescriptFuncCallArg
syntax keyword typescriptBOMWindowMethod containedin=typescriptIdentifierName getAttention nextgroup=typescriptFuncCallArg
syntax keyword typescriptBOMWindowMethod containedin=typescriptIdentifierName getAttentionWithCycleCount nextgroup=typescriptFuncCallArg
syntax keyword typescriptBOMWindowMethod containedin=typescriptIdentifierName getComputedStyle nextgroup=typescriptFuncCallArg
syntax keyword typescriptBOMWindowMethod containedin=typescriptIdentifierName getDefaulComputedStyle nextgroup=typescriptFuncCallArg
syntax keyword typescriptBOMWindowMethod containedin=typescriptIdentifierName getSelection nextgroup=typescriptFuncCallArg
syntax keyword typescriptBOMWindowMethod containedin=typescriptIdentifierName matchMedia nextgroup=typescriptFuncCallArg
syntax keyword typescriptBOMWindowMethod containedin=typescriptIdentifierName maximize nextgroup=typescriptFuncCallArg
syntax keyword typescriptBOMWindowMethod containedin=typescriptIdentifierName moveBy nextgroup=typescriptFuncCallArg
syntax keyword typescriptBOMWindowMethod containedin=typescriptIdentifierName moveTo nextgroup=typescriptFuncCallArg
syntax keyword typescriptBOMWindowMethod containedin=typescriptIdentifierName open nextgroup=typescriptFuncCallArg
syntax keyword typescriptBOMWindowMethod containedin=typescriptIdentifierName openDialog nextgroup=typescriptFuncCallArg
syntax keyword typescriptBOMWindowMethod containedin=typescriptIdentifierName postMessage nextgroup=typescriptFuncCallArg
syntax keyword typescriptBOMWindowMethod containedin=typescriptIdentifierName print nextgroup=typescriptFuncCallArg
syntax keyword typescriptBOMWindowMethod containedin=typescriptIdentifierName prompt nextgroup=typescriptFuncCallArg
syntax keyword typescriptBOMWindowMethod containedin=typescriptIdentifierName removeEventListener nextgroup=typescriptFuncCallArg
syntax keyword typescriptBOMWindowMethod containedin=typescriptIdentifierName resizeBy nextgroup=typescriptFuncCallArg
syntax keyword typescriptBOMWindowMethod containedin=typescriptIdentifierName resizeTo nextgroup=typescriptFuncCallArg
syntax keyword typescriptBOMWindowMethod containedin=typescriptIdentifierName restore nextgroup=typescriptFuncCallArg
syntax keyword typescriptBOMWindowMethod containedin=typescriptIdentifierName scroll nextgroup=typescriptFuncCallArg
syntax keyword typescriptBOMWindowMethod containedin=typescriptIdentifierName scrollBy nextgroup=typescriptFuncCallArg
syntax keyword typescriptBOMWindowMethod containedin=typescriptIdentifierName scrollByLines nextgroup=typescriptFuncCallArg
syntax keyword typescriptBOMWindowMethod containedin=typescriptIdentifierName scrollByPages nextgroup=typescriptFuncCallArg
syntax keyword typescriptBOMWindowMethod containedin=typescriptIdentifierName scrollTo nextgroup=typescriptFuncCallArg
syntax keyword typescriptBOMWindowMethod containedin=typescriptIdentifierName setCursor nextgroup=typescriptFuncCallArg
syntax keyword typescriptBOMWindowMethod containedin=typescriptIdentifierName setImmediate nextgroup=typescriptFuncCallArg
syntax keyword typescriptBOMWindowMethod containedin=typescriptIdentifierName setInterval nextgroup=typescriptFuncCallArg
syntax keyword typescriptBOMWindowMethod containedin=typescriptIdentifierName setResizable nextgroup=typescriptFuncCallArg
syntax keyword typescriptBOMWindowMethod containedin=typescriptIdentifierName setTimeout nextgroup=typescriptFuncCallArg
syntax keyword typescriptBOMWindowMethod containedin=typescriptIdentifierName showModalDialog nextgroup=typescriptFuncCallArg
syntax keyword typescriptBOMWindowMethod containedin=typescriptIdentifierName sizeToContent nextgroup=typescriptFuncCallArg
syntax keyword typescriptBOMWindowMethod containedin=typescriptIdentifierName stop nextgroup=typescriptFuncCallArg
syntax keyword typescriptBOMWindowMethod containedin=typescriptIdentifierName updateCommands nextgroup=typescriptFuncCallArg
syntax cluster props add=typescriptBOMWindowMethod
if exists("did_typescript_hilink") | HiLink typescriptBOMWindowMethod Structure
endif
syntax keyword typescriptBOMWindowEvent contained onabort onbeforeunload onblur onchange
syntax keyword typescriptBOMWindowEvent contained onclick onclose oncontextmenu ondevicelight
syntax keyword typescriptBOMWindowEvent contained ondevicemotion ondeviceorientation
syntax keyword typescriptBOMWindowEvent contained ondeviceproximity ondragdrop onerror
syntax keyword typescriptBOMWindowEvent contained onfocus onhashchange onkeydown onkeypress
syntax keyword typescriptBOMWindowEvent contained onkeyup onload onmousedown onmousemove
syntax keyword typescriptBOMWindowEvent contained onmouseout onmouseover onmouseup
syntax keyword typescriptBOMWindowEvent contained onmozbeforepaint onpaint onpopstate
syntax keyword typescriptBOMWindowEvent contained onreset onresize onscroll onselect
syntax keyword typescriptBOMWindowEvent contained onsubmit onunload onuserproximity
syntax keyword typescriptBOMWindowEvent contained onpageshow onpagehide
if exists("did_typescript_hilink") | HiLink typescriptBOMWindowEvent Keyword
endif
syntax keyword typescriptBOMWindowCons containedin=typescriptIdentifierName DOMParser
syntax keyword typescriptBOMWindowCons containedin=typescriptIdentifierName QueryInterface
syntax keyword typescriptBOMWindowCons containedin=typescriptIdentifierName XMLSerializer
if exists("did_typescript_hilink") | HiLink typescriptBOMWindowCons Structure
endif

18
syntax/yats/web-xhr.vim Normal file
View File

@@ -0,0 +1,18 @@
if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'typescript') != -1
finish
endif
syntax keyword typescriptXHRGlobal containedin=typescriptIdentifierName XMLHttpRequest
if exists("did_typescript_hilink") | HiLink typescriptXHRGlobal Structure
endif
syntax keyword typescriptXHRProp contained onreadystatechange readyState response
syntax keyword typescriptXHRProp contained responseText responseType responseXML status
syntax keyword typescriptXHRProp contained statusText timeout ontimeout upload withCredentials
syntax cluster props add=typescriptXHRProp
if exists("did_typescript_hilink") | HiLink typescriptXHRProp Keyword
endif
syntax keyword typescriptXHRMethod contained abort getAllResponseHeaders getResponseHeader nextgroup=typescriptFuncCallArg
syntax keyword typescriptXHRMethod contained open overrideMimeType send setRequestHeader nextgroup=typescriptFuncCallArg
syntax cluster props add=typescriptXHRMethod
if exists("did_typescript_hilink") | HiLink typescriptXHRMethod Keyword
endif

253
syntax/yats/web.vim Normal file
View File

@@ -0,0 +1,253 @@
if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'typescript') != -1
finish
endif
syntax keyword typescriptBOM containedin=typescriptIdentifierName AbortController
syntax keyword typescriptBOM containedin=typescriptIdentifierName AbstractWorker AnalyserNode
syntax keyword typescriptBOM containedin=typescriptIdentifierName App Apps ArrayBuffer
syntax keyword typescriptBOM containedin=typescriptIdentifierName ArrayBufferView
syntax keyword typescriptBOM containedin=typescriptIdentifierName Attr AudioBuffer
syntax keyword typescriptBOM containedin=typescriptIdentifierName AudioBufferSourceNode
syntax keyword typescriptBOM containedin=typescriptIdentifierName AudioContext AudioDestinationNode
syntax keyword typescriptBOM containedin=typescriptIdentifierName AudioListener AudioNode
syntax keyword typescriptBOM containedin=typescriptIdentifierName AudioParam BatteryManager
syntax keyword typescriptBOM containedin=typescriptIdentifierName BiquadFilterNode
syntax keyword typescriptBOM containedin=typescriptIdentifierName BlobEvent BluetoothAdapter
syntax keyword typescriptBOM containedin=typescriptIdentifierName BluetoothDevice
syntax keyword typescriptBOM containedin=typescriptIdentifierName BluetoothManager
syntax keyword typescriptBOM containedin=typescriptIdentifierName CameraCapabilities
syntax keyword typescriptBOM containedin=typescriptIdentifierName CameraControl CameraManager
syntax keyword typescriptBOM containedin=typescriptIdentifierName CanvasGradient CanvasImageSource
syntax keyword typescriptBOM containedin=typescriptIdentifierName CanvasPattern CanvasRenderingContext2D
syntax keyword typescriptBOM containedin=typescriptIdentifierName CaretPosition CDATASection
syntax keyword typescriptBOM containedin=typescriptIdentifierName ChannelMergerNode
syntax keyword typescriptBOM containedin=typescriptIdentifierName ChannelSplitterNode
syntax keyword typescriptBOM containedin=typescriptIdentifierName CharacterData ChildNode
syntax keyword typescriptBOM containedin=typescriptIdentifierName ChromeWorker Comment
syntax keyword typescriptBOM containedin=typescriptIdentifierName Connection Console
syntax keyword typescriptBOM containedin=typescriptIdentifierName ContactManager Contacts
syntax keyword typescriptBOM containedin=typescriptIdentifierName ConvolverNode Coordinates
syntax keyword typescriptBOM containedin=typescriptIdentifierName CSS CSSConditionRule
syntax keyword typescriptBOM containedin=typescriptIdentifierName CSSGroupingRule
syntax keyword typescriptBOM containedin=typescriptIdentifierName CSSKeyframeRule
syntax keyword typescriptBOM containedin=typescriptIdentifierName CSSKeyframesRule
syntax keyword typescriptBOM containedin=typescriptIdentifierName CSSMediaRule CSSNamespaceRule
syntax keyword typescriptBOM containedin=typescriptIdentifierName CSSPageRule CSSRule
syntax keyword typescriptBOM containedin=typescriptIdentifierName CSSRuleList CSSStyleDeclaration
syntax keyword typescriptBOM containedin=typescriptIdentifierName CSSStyleRule CSSStyleSheet
syntax keyword typescriptBOM containedin=typescriptIdentifierName CSSSupportsRule
syntax keyword typescriptBOM containedin=typescriptIdentifierName DataTransfer DataView
syntax keyword typescriptBOM containedin=typescriptIdentifierName DedicatedWorkerGlobalScope
syntax keyword typescriptBOM containedin=typescriptIdentifierName DelayNode DeviceAcceleration
syntax keyword typescriptBOM containedin=typescriptIdentifierName DeviceRotationRate
syntax keyword typescriptBOM containedin=typescriptIdentifierName DeviceStorage DirectoryEntry
syntax keyword typescriptBOM containedin=typescriptIdentifierName DirectoryEntrySync
syntax keyword typescriptBOM containedin=typescriptIdentifierName DirectoryReader
syntax keyword typescriptBOM containedin=typescriptIdentifierName DirectoryReaderSync
syntax keyword typescriptBOM containedin=typescriptIdentifierName Document DocumentFragment
syntax keyword typescriptBOM containedin=typescriptIdentifierName DocumentTouch DocumentType
syntax keyword typescriptBOM containedin=typescriptIdentifierName DOMCursor DOMError
syntax keyword typescriptBOM containedin=typescriptIdentifierName DOMException DOMHighResTimeStamp
syntax keyword typescriptBOM containedin=typescriptIdentifierName DOMImplementation
syntax keyword typescriptBOM containedin=typescriptIdentifierName DOMImplementationRegistry
syntax keyword typescriptBOM containedin=typescriptIdentifierName DOMParser DOMRequest
syntax keyword typescriptBOM containedin=typescriptIdentifierName DOMString DOMStringList
syntax keyword typescriptBOM containedin=typescriptIdentifierName DOMStringMap DOMTimeStamp
syntax keyword typescriptBOM containedin=typescriptIdentifierName DOMTokenList DynamicsCompressorNode
syntax keyword typescriptBOM containedin=typescriptIdentifierName Element Entry EntrySync
syntax keyword typescriptBOM containedin=typescriptIdentifierName Extensions FileException
syntax keyword typescriptBOM containedin=typescriptIdentifierName Float32Array Float64Array
syntax keyword typescriptBOM containedin=typescriptIdentifierName FMRadio FormData
syntax keyword typescriptBOM containedin=typescriptIdentifierName GainNode Gamepad
syntax keyword typescriptBOM containedin=typescriptIdentifierName GamepadButton Geolocation
syntax keyword typescriptBOM containedin=typescriptIdentifierName History HTMLAnchorElement
syntax keyword typescriptBOM containedin=typescriptIdentifierName HTMLAreaElement
syntax keyword typescriptBOM containedin=typescriptIdentifierName HTMLAudioElement
syntax keyword typescriptBOM containedin=typescriptIdentifierName HTMLBaseElement
syntax keyword typescriptBOM containedin=typescriptIdentifierName HTMLBodyElement
syntax keyword typescriptBOM containedin=typescriptIdentifierName HTMLBRElement HTMLButtonElement
syntax keyword typescriptBOM containedin=typescriptIdentifierName HTMLCanvasElement
syntax keyword typescriptBOM containedin=typescriptIdentifierName HTMLCollection HTMLDataElement
syntax keyword typescriptBOM containedin=typescriptIdentifierName HTMLDataListElement
syntax keyword typescriptBOM containedin=typescriptIdentifierName HTMLDivElement HTMLDListElement
syntax keyword typescriptBOM containedin=typescriptIdentifierName HTMLDocument HTMLElement
syntax keyword typescriptBOM containedin=typescriptIdentifierName HTMLEmbedElement
syntax keyword typescriptBOM containedin=typescriptIdentifierName HTMLFieldSetElement
syntax keyword typescriptBOM containedin=typescriptIdentifierName HTMLFormControlsCollection
syntax keyword typescriptBOM containedin=typescriptIdentifierName HTMLFormElement
syntax keyword typescriptBOM containedin=typescriptIdentifierName HTMLHeadElement
syntax keyword typescriptBOM containedin=typescriptIdentifierName HTMLHeadingElement
syntax keyword typescriptBOM containedin=typescriptIdentifierName HTMLHRElement HTMLHtmlElement
syntax keyword typescriptBOM containedin=typescriptIdentifierName HTMLIFrameElement
syntax keyword typescriptBOM containedin=typescriptIdentifierName HTMLImageElement
syntax keyword typescriptBOM containedin=typescriptIdentifierName HTMLInputElement
syntax keyword typescriptBOM containedin=typescriptIdentifierName HTMLKeygenElement
syntax keyword typescriptBOM containedin=typescriptIdentifierName HTMLLabelElement
syntax keyword typescriptBOM containedin=typescriptIdentifierName HTMLLegendElement
syntax keyword typescriptBOM containedin=typescriptIdentifierName HTMLLIElement HTMLLinkElement
syntax keyword typescriptBOM containedin=typescriptIdentifierName HTMLMapElement HTMLMediaElement
syntax keyword typescriptBOM containedin=typescriptIdentifierName HTMLMetaElement
syntax keyword typescriptBOM containedin=typescriptIdentifierName HTMLMeterElement
syntax keyword typescriptBOM containedin=typescriptIdentifierName HTMLModElement HTMLObjectElement
syntax keyword typescriptBOM containedin=typescriptIdentifierName HTMLOListElement
syntax keyword typescriptBOM containedin=typescriptIdentifierName HTMLOptGroupElement
syntax keyword typescriptBOM containedin=typescriptIdentifierName HTMLOptionElement
syntax keyword typescriptBOM containedin=typescriptIdentifierName HTMLOptionsCollection
syntax keyword typescriptBOM containedin=typescriptIdentifierName HTMLOutputElement
syntax keyword typescriptBOM containedin=typescriptIdentifierName HTMLParagraphElement
syntax keyword typescriptBOM containedin=typescriptIdentifierName HTMLParamElement
syntax keyword typescriptBOM containedin=typescriptIdentifierName HTMLPreElement HTMLProgressElement
syntax keyword typescriptBOM containedin=typescriptIdentifierName HTMLQuoteElement
syntax keyword typescriptBOM containedin=typescriptIdentifierName HTMLScriptElement
syntax keyword typescriptBOM containedin=typescriptIdentifierName HTMLSelectElement
syntax keyword typescriptBOM containedin=typescriptIdentifierName HTMLSourceElement
syntax keyword typescriptBOM containedin=typescriptIdentifierName HTMLSpanElement
syntax keyword typescriptBOM containedin=typescriptIdentifierName HTMLStyleElement
syntax keyword typescriptBOM containedin=typescriptIdentifierName HTMLTableCaptionElement
syntax keyword typescriptBOM containedin=typescriptIdentifierName HTMLTableCellElement
syntax keyword typescriptBOM containedin=typescriptIdentifierName HTMLTableColElement
syntax keyword typescriptBOM containedin=typescriptIdentifierName HTMLTableDataCellElement
syntax keyword typescriptBOM containedin=typescriptIdentifierName HTMLTableElement
syntax keyword typescriptBOM containedin=typescriptIdentifierName HTMLTableHeaderCellElement
syntax keyword typescriptBOM containedin=typescriptIdentifierName HTMLTableRowElement
syntax keyword typescriptBOM containedin=typescriptIdentifierName HTMLTableSectionElement
syntax keyword typescriptBOM containedin=typescriptIdentifierName HTMLTextAreaElement
syntax keyword typescriptBOM containedin=typescriptIdentifierName HTMLTimeElement
syntax keyword typescriptBOM containedin=typescriptIdentifierName HTMLTitleElement
syntax keyword typescriptBOM containedin=typescriptIdentifierName HTMLTrackElement
syntax keyword typescriptBOM containedin=typescriptIdentifierName HTMLUListElement
syntax keyword typescriptBOM containedin=typescriptIdentifierName HTMLUnknownElement
syntax keyword typescriptBOM containedin=typescriptIdentifierName HTMLVideoElement
syntax keyword typescriptBOM containedin=typescriptIdentifierName IDBCursor IDBCursorSync
syntax keyword typescriptBOM containedin=typescriptIdentifierName IDBCursorWithValue
syntax keyword typescriptBOM containedin=typescriptIdentifierName IDBDatabase IDBDatabaseSync
syntax keyword typescriptBOM containedin=typescriptIdentifierName IDBEnvironment IDBEnvironmentSync
syntax keyword typescriptBOM containedin=typescriptIdentifierName IDBFactory IDBFactorySync
syntax keyword typescriptBOM containedin=typescriptIdentifierName IDBIndex IDBIndexSync
syntax keyword typescriptBOM containedin=typescriptIdentifierName IDBKeyRange IDBObjectStore
syntax keyword typescriptBOM containedin=typescriptIdentifierName IDBObjectStoreSync
syntax keyword typescriptBOM containedin=typescriptIdentifierName IDBOpenDBRequest
syntax keyword typescriptBOM containedin=typescriptIdentifierName IDBRequest IDBTransaction
syntax keyword typescriptBOM containedin=typescriptIdentifierName IDBTransactionSync
syntax keyword typescriptBOM containedin=typescriptIdentifierName IDBVersionChangeEvent
syntax keyword typescriptBOM containedin=typescriptIdentifierName ImageData IndexedDB
syntax keyword typescriptBOM containedin=typescriptIdentifierName Int16Array Int32Array
syntax keyword typescriptBOM containedin=typescriptIdentifierName Int8Array L10n LinkStyle
syntax keyword typescriptBOM containedin=typescriptIdentifierName LocalFileSystem
syntax keyword typescriptBOM containedin=typescriptIdentifierName LocalFileSystemSync
syntax keyword typescriptBOM containedin=typescriptIdentifierName Location LockedFile
syntax keyword typescriptBOM containedin=typescriptIdentifierName MediaQueryList MediaQueryListListener
syntax keyword typescriptBOM containedin=typescriptIdentifierName MediaRecorder MediaSource
syntax keyword typescriptBOM containedin=typescriptIdentifierName MediaStream MediaStreamTrack
syntax keyword typescriptBOM containedin=typescriptIdentifierName MutationObserver
syntax keyword typescriptBOM containedin=typescriptIdentifierName Navigator NavigatorGeolocation
syntax keyword typescriptBOM containedin=typescriptIdentifierName NavigatorID NavigatorLanguage
syntax keyword typescriptBOM containedin=typescriptIdentifierName NavigatorOnLine
syntax keyword typescriptBOM containedin=typescriptIdentifierName NavigatorPlugins
syntax keyword typescriptBOM containedin=typescriptIdentifierName Node NodeFilter
syntax keyword typescriptBOM containedin=typescriptIdentifierName NodeIterator NodeList
syntax keyword typescriptBOM containedin=typescriptIdentifierName Notification OfflineAudioContext
syntax keyword typescriptBOM containedin=typescriptIdentifierName OscillatorNode PannerNode
syntax keyword typescriptBOM containedin=typescriptIdentifierName ParentNode Performance
syntax keyword typescriptBOM containedin=typescriptIdentifierName PerformanceNavigation
syntax keyword typescriptBOM containedin=typescriptIdentifierName PerformanceTiming
syntax keyword typescriptBOM containedin=typescriptIdentifierName Permissions PermissionSettings
syntax keyword typescriptBOM containedin=typescriptIdentifierName Plugin PluginArray
syntax keyword typescriptBOM containedin=typescriptIdentifierName Position PositionError
syntax keyword typescriptBOM containedin=typescriptIdentifierName PositionOptions
syntax keyword typescriptBOM containedin=typescriptIdentifierName PowerManager ProcessingInstruction
syntax keyword typescriptBOM containedin=typescriptIdentifierName PromiseResolver
syntax keyword typescriptBOM containedin=typescriptIdentifierName PushManager Range
syntax keyword typescriptBOM containedin=typescriptIdentifierName RTCConfiguration
syntax keyword typescriptBOM containedin=typescriptIdentifierName RTCPeerConnection
syntax keyword typescriptBOM containedin=typescriptIdentifierName RTCPeerConnectionErrorCallback
syntax keyword typescriptBOM containedin=typescriptIdentifierName RTCSessionDescription
syntax keyword typescriptBOM containedin=typescriptIdentifierName RTCSessionDescriptionCallback
syntax keyword typescriptBOM containedin=typescriptIdentifierName ScriptProcessorNode
syntax keyword typescriptBOM containedin=typescriptIdentifierName Selection SettingsLock
syntax keyword typescriptBOM containedin=typescriptIdentifierName SettingsManager
syntax keyword typescriptBOM containedin=typescriptIdentifierName SharedWorker StyleSheet
syntax keyword typescriptBOM containedin=typescriptIdentifierName StyleSheetList SVGAElement
syntax keyword typescriptBOM containedin=typescriptIdentifierName SVGAngle SVGAnimateColorElement
syntax keyword typescriptBOM containedin=typescriptIdentifierName SVGAnimatedAngle
syntax keyword typescriptBOM containedin=typescriptIdentifierName SVGAnimatedBoolean
syntax keyword typescriptBOM containedin=typescriptIdentifierName SVGAnimatedEnumeration
syntax keyword typescriptBOM containedin=typescriptIdentifierName SVGAnimatedInteger
syntax keyword typescriptBOM containedin=typescriptIdentifierName SVGAnimatedLength
syntax keyword typescriptBOM containedin=typescriptIdentifierName SVGAnimatedLengthList
syntax keyword typescriptBOM containedin=typescriptIdentifierName SVGAnimatedNumber
syntax keyword typescriptBOM containedin=typescriptIdentifierName SVGAnimatedNumberList
syntax keyword typescriptBOM containedin=typescriptIdentifierName SVGAnimatedPoints
syntax keyword typescriptBOM containedin=typescriptIdentifierName SVGAnimatedPreserveAspectRatio
syntax keyword typescriptBOM containedin=typescriptIdentifierName SVGAnimatedRect
syntax keyword typescriptBOM containedin=typescriptIdentifierName SVGAnimatedString
syntax keyword typescriptBOM containedin=typescriptIdentifierName SVGAnimatedTransformList
syntax keyword typescriptBOM containedin=typescriptIdentifierName SVGAnimateElement
syntax keyword typescriptBOM containedin=typescriptIdentifierName SVGAnimateMotionElement
syntax keyword typescriptBOM containedin=typescriptIdentifierName SVGAnimateTransformElement
syntax keyword typescriptBOM containedin=typescriptIdentifierName SVGAnimationElement
syntax keyword typescriptBOM containedin=typescriptIdentifierName SVGCircleElement
syntax keyword typescriptBOM containedin=typescriptIdentifierName SVGClipPathElement
syntax keyword typescriptBOM containedin=typescriptIdentifierName SVGCursorElement
syntax keyword typescriptBOM containedin=typescriptIdentifierName SVGDefsElement SVGDescElement
syntax keyword typescriptBOM containedin=typescriptIdentifierName SVGElement SVGEllipseElement
syntax keyword typescriptBOM containedin=typescriptIdentifierName SVGFilterElement
syntax keyword typescriptBOM containedin=typescriptIdentifierName SVGFontElement SVGFontFaceElement
syntax keyword typescriptBOM containedin=typescriptIdentifierName SVGFontFaceFormatElement
syntax keyword typescriptBOM containedin=typescriptIdentifierName SVGFontFaceNameElement
syntax keyword typescriptBOM containedin=typescriptIdentifierName SVGFontFaceSrcElement
syntax keyword typescriptBOM containedin=typescriptIdentifierName SVGFontFaceUriElement
syntax keyword typescriptBOM containedin=typescriptIdentifierName SVGForeignObjectElement
syntax keyword typescriptBOM containedin=typescriptIdentifierName SVGGElement SVGGlyphElement
syntax keyword typescriptBOM containedin=typescriptIdentifierName SVGGradientElement
syntax keyword typescriptBOM containedin=typescriptIdentifierName SVGHKernElement
syntax keyword typescriptBOM containedin=typescriptIdentifierName SVGImageElement
syntax keyword typescriptBOM containedin=typescriptIdentifierName SVGLength SVGLengthList
syntax keyword typescriptBOM containedin=typescriptIdentifierName SVGLinearGradientElement
syntax keyword typescriptBOM containedin=typescriptIdentifierName SVGLineElement SVGMaskElement
syntax keyword typescriptBOM containedin=typescriptIdentifierName SVGMatrix SVGMissingGlyphElement
syntax keyword typescriptBOM containedin=typescriptIdentifierName SVGMPathElement
syntax keyword typescriptBOM containedin=typescriptIdentifierName SVGNumber SVGNumberList
syntax keyword typescriptBOM containedin=typescriptIdentifierName SVGPathElement SVGPatternElement
syntax keyword typescriptBOM containedin=typescriptIdentifierName SVGPoint SVGPolygonElement
syntax keyword typescriptBOM containedin=typescriptIdentifierName SVGPolylineElement
syntax keyword typescriptBOM containedin=typescriptIdentifierName SVGPreserveAspectRatio
syntax keyword typescriptBOM containedin=typescriptIdentifierName SVGRadialGradientElement
syntax keyword typescriptBOM containedin=typescriptIdentifierName SVGRect SVGRectElement
syntax keyword typescriptBOM containedin=typescriptIdentifierName SVGScriptElement
syntax keyword typescriptBOM containedin=typescriptIdentifierName SVGSetElement SVGStopElement
syntax keyword typescriptBOM containedin=typescriptIdentifierName SVGStringList SVGStylable
syntax keyword typescriptBOM containedin=typescriptIdentifierName SVGStyleElement
syntax keyword typescriptBOM containedin=typescriptIdentifierName SVGSVGElement SVGSwitchElement
syntax keyword typescriptBOM containedin=typescriptIdentifierName SVGSymbolElement
syntax keyword typescriptBOM containedin=typescriptIdentifierName SVGTests SVGTextElement
syntax keyword typescriptBOM containedin=typescriptIdentifierName SVGTextPositioningElement
syntax keyword typescriptBOM containedin=typescriptIdentifierName SVGTitleElement
syntax keyword typescriptBOM containedin=typescriptIdentifierName SVGTransform SVGTransformable
syntax keyword typescriptBOM containedin=typescriptIdentifierName SVGTransformList
syntax keyword typescriptBOM containedin=typescriptIdentifierName SVGTRefElement SVGTSpanElement
syntax keyword typescriptBOM containedin=typescriptIdentifierName SVGUseElement SVGViewElement
syntax keyword typescriptBOM containedin=typescriptIdentifierName SVGVKernElement
syntax keyword typescriptBOM containedin=typescriptIdentifierName TCPServerSocket
syntax keyword typescriptBOM containedin=typescriptIdentifierName TCPSocket Telephony
syntax keyword typescriptBOM containedin=typescriptIdentifierName TelephonyCall Text
syntax keyword typescriptBOM containedin=typescriptIdentifierName TextDecoder TextEncoder
syntax keyword typescriptBOM containedin=typescriptIdentifierName TextMetrics TimeRanges
syntax keyword typescriptBOM containedin=typescriptIdentifierName Touch TouchList
syntax keyword typescriptBOM containedin=typescriptIdentifierName Transferable TreeWalker
syntax keyword typescriptBOM containedin=typescriptIdentifierName Uint16Array Uint32Array
syntax keyword typescriptBOM containedin=typescriptIdentifierName Uint8Array Uint8ClampedArray
syntax keyword typescriptBOM containedin=typescriptIdentifierName URLSearchParams
syntax keyword typescriptBOM containedin=typescriptIdentifierName URLUtilsReadOnly
syntax keyword typescriptBOM containedin=typescriptIdentifierName UserProximityEvent
syntax keyword typescriptBOM containedin=typescriptIdentifierName ValidityState VideoPlaybackQuality
syntax keyword typescriptBOM containedin=typescriptIdentifierName WaveShaperNode WebBluetooth
syntax keyword typescriptBOM containedin=typescriptIdentifierName WebGLRenderingContext
syntax keyword typescriptBOM containedin=typescriptIdentifierName WebSMS WebSocket
syntax keyword typescriptBOM containedin=typescriptIdentifierName WebVTT WifiManager
syntax keyword typescriptBOM containedin=typescriptIdentifierName Window Worker WorkerConsole
syntax keyword typescriptBOM containedin=typescriptIdentifierName WorkerLocation WorkerNavigator
syntax keyword typescriptBOM containedin=typescriptIdentifierName XDomainRequest XMLDocument
syntax keyword typescriptBOM containedin=typescriptIdentifierName XMLHttpRequestEventTarget
if exists("did_typescript_hilink") | HiLink typescriptBOM Structure
endif