diff options
Diffstat (limited to '')
-rw-r--r-- | syntax/yats/dom-elem.vim | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/syntax/yats/dom-elem.vim b/syntax/yats/dom-elem.vim new file mode 100644 index 00000000..b9629bac --- /dev/null +++ b/syntax/yats/dom-elem.vim @@ -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 |