You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

33 lines
2.4 KiB
VimL

syntax keyword javascriptDOMEventTargetMethod contained addEventListener removeEventListener nextgroup=javascriptEventFuncCallArg
syntax keyword javascriptDOMEventTargetMethod contained dispatchEvent waitUntil nextgroup=javascriptEventFuncCallArg
syntax cluster props add=javascriptDOMEventTargetMethod
if exists("did_javascript_hilink") | HiLink javascriptDOMEventTargetMethod Keyword
endif
syntax keyword javascriptDOMEventCons AnimationEvent AudioProcessingEvent BeforeInputEvent
syntax keyword javascriptDOMEventCons BeforeUnloadEvent BlobEvent ClipboardEvent CloseEvent
syntax keyword javascriptDOMEventCons CompositionEvent CSSFontFaceLoadEvent CustomEvent
syntax keyword javascriptDOMEventCons DeviceLightEvent DeviceMotionEvent DeviceOrientationEvent
syntax keyword javascriptDOMEventCons DeviceProximityEvent DOMTransactionEvent DragEvent
syntax keyword javascriptDOMEventCons EditingBeforeInputEvent ErrorEvent FocusEvent
syntax keyword javascriptDOMEventCons GamepadEvent HashChangeEvent IDBVersionChangeEvent
syntax keyword javascriptDOMEventCons KeyboardEvent MediaStreamEvent MessageEvent
syntax keyword javascriptDOMEventCons MouseEvent MutationEvent OfflineAudioCompletionEvent
syntax keyword javascriptDOMEventCons PageTransitionEvent PointerEvent PopStateEvent
syntax keyword javascriptDOMEventCons ProgressEvent RelatedEvent RTCPeerConnectionIceEvent
syntax keyword javascriptDOMEventCons SensorEvent StorageEvent SVGEvent SVGZoomEvent
syntax keyword javascriptDOMEventCons TimeEvent TouchEvent TrackEvent TransitionEvent
syntax keyword javascriptDOMEventCons UIEvent UserProximityEvent WheelEvent
if exists("did_javascript_hilink") | HiLink javascriptDOMEventCons Structure
endif
syntax keyword javascriptDOMEventProp contained bubbles cancelable currentTarget defaultPrevented
syntax keyword javascriptDOMEventProp contained eventPhase target timeStamp type isTrusted
syntax keyword javascriptDOMEventProp contained isReload
syntax cluster props add=javascriptDOMEventProp
if exists("did_javascript_hilink") | HiLink javascriptDOMEventProp Keyword
endif
syntax keyword javascriptDOMEventMethod contained initEvent preventDefault stopImmediatePropagation nextgroup=javascriptEventFuncCallArg
syntax keyword javascriptDOMEventMethod contained stopPropagation respondWith default nextgroup=javascriptEventFuncCallArg
syntax cluster props add=javascriptDOMEventMethod
if exists("did_javascript_hilink") | HiLink javascriptDOMEventMethod Keyword
endif