My dotfiles. Period.

html5.vim 2.5KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. " Vim syntax file
  2. " Language: HTML5 New Stuff
  3. " Maintainer: othree <othree@gmail.com>
  4. " URL: http://github.com/othree/html5-syntax.vim
  5. " Last Change: 2011-05-27
  6. " License: MIT
  7. " Changes:
  8. syn keyword javaScriptHtmlEvents onabort onblur oncanplay oncanplaythrough onchange
  9. syn keyword javaScriptHtmlEvents onclick oncontextmenu ondblclick ondrag ondragend ondragenter ondragleave ondragover
  10. syn keyword javaScriptHtmlEvents ondragstart ondrop ondurationchange onemptied onended onerror onfocus onformchange
  11. syn keyword javaScriptHtmlEvents onforminput oninput oninvalid onkeydown onkeypress onkeyup onload onloadeddata
  12. syn keyword javaScriptHtmlEvents onloadedmetadata onloadstart onmousedown onmousemove onmouseout onmouseover onmouseup
  13. syn keyword javaScriptHtmlEvents onmousewheel onpause onplay onplaying onprogress onratechange onreadystatechange
  14. syn keyword javaScriptHtmlEvents onscroll onseeked onseeking onselect onshow onstalled onsubmit onsuspend ontimeupdate
  15. syn keyword javaScriptHtmlEvents onvolumechange onwaiting
  16. " <body>
  17. syn keyword javaScriptHtmlEvents onafterprint onbeforeprint onbeforeunload onblur onerror onfocus onhashchange onload
  18. syn keyword javaScriptHtmlEvents onmessage onoffline ononline onpopstate onredo onresize onstorage onundo onunload
  19. " Media Controller
  20. syn keyword javaScriptDomElemAttrs buffered seekable duration currentTime paused
  21. syn keyword javaScriptDomElemAttrs played defaultPlaybackRate playbackRate volume muted
  22. syn keyword javaScriptDomElemAttrs mediaGroup
  23. syn keyword javaScriptDomElemFuncs load play pause
  24. syn keyword javaScriptHtmlEvents oncanplay oncanplaythrough ondurationchange onemptied
  25. syn keyword javaScriptHtmlEvents onloadeddata onloadedmetadata onloadstart onpause onplay onplaying onratechange
  26. syn keyword javaScriptHtmlEvents ontimeupdate onvolumechange onwaiting
  27. " <audio>/<video>
  28. syn keyword javaScriptDomElemAttrs error src currentSrc networkState preload buffered readyState seeking
  29. syn keyword javaScriptDomElemAttrs currentTime initialTime duration startOffsetTime paused defaultPlaybackRate playbackRate played
  30. syn keyword javaScriptDomElemAttrs seekable ended autoplay loop controls volume muted defaltMuted audioTracks videoTracks textTracks
  31. syn keyword javaScriptDomElemFuncs load addTextTrack
  32. " <video>
  33. " syn keyword javaScriptDomElemAttrs width height
  34. syn keyword javaScriptDomElemAttrs videoWidth videoHeight poster
  35. " drag and drop
  36. syn keyword javaScriptDomElemAttrs onDragStart onDragEnd onDragEnter onDragLeave onDragOver onDrag onDrop draggable dropzone