My dotfiles. Period.

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108
  1. " Vim syntax file
  2. " Language: HTML (version 5)
  3. " Maintainer: Rodrigo Machado <rcmachado@gmail.com>
  4. " URL: http://rm.blog.br/vim/syntax/html.vim
  5. " Last Change: 2009 Aug 19
  6. " License: Public domain
  7. " (but let me know if you like :) )
  8. "
  9. " Note: This file just adds the new tags from HTML 5
  10. " and don't replace default html.vim syntax file
  11. "
  12. " Modified: othree <othree@gmail.com>
  13. " Changes: update to Draft 13 January 2011
  14. " add complete new attributes
  15. " add microdata Attributes
  16. " add bdi element
  17. " Modified: htdebeer <H.T.de.Beer@gmail.com>
  18. " Changes: add common SVG elements and attributes for inline SVG
  19. " HTML 5 tags
  20. syn keyword htmlTagName contained article aside audio canvas command
  21. syn keyword htmlTagName contained datalist details dialog embed figcaption figure footer
  22. syn keyword htmlTagName contained header hgroup keygen mark meter menu nav output
  23. syn keyword htmlTagName contained progress time ruby rt rp section source summary time track video
  24. syn keyword htmlTagName contained wbr bdi
  25. " SVG tags
  26. " http://www.w3.org/TR/SVG/
  27. " as found in http://www.w3.org/TR/SVG/eltindex.html
  28. syn keyword htmlTagName contained svg
  29. syn keyword htmlTagName contained altGlyph altGlyphDef altGlyphItem
  30. syn keyword htmlTagName contained animate animateColor animateMotion animateTransform
  31. syn keyword htmlTagName contained circle ellipse rect line polyline polygon image path
  32. syn keyword htmlTagName contained clipPath color-profile cursor
  33. syn keyword htmlTagName contained defs desc g symbol view use switch foreignObject
  34. syn keyword htmlTagName contained filter feBlend feColorMatrix feComponentTransfer feComposite feConvolveMatrix feDiffuseLighting feDisplacementMap feDistantLight feFlood feFuncA feFuncB feFuncG feFuncR feGaussianBlur feImage feMerge feMergeNode feMorphology feOffset fePointLight feSpecularLighting feSpotLight feTile feTurbulence
  35. syn keyword htmlTagName contained font font-face font-face-format font-face-name font-face-src font-face-uri
  36. syn keyword htmlTagName contained glyph glyphRef hkern
  37. syn keyword htmlTagName contained linearGradient marker mask pattern radialGradient set stop
  38. syn keyword htmlTagName contained missing-glyph mpath
  39. syn keyword htmlTagName contained text textPath tref tspan vkern
  40. " HTML 5 arguments
  41. " Core Attributes
  42. syn keyword htmlArg contained accesskey class contenteditable contextmenu dir
  43. syn keyword htmlArg contained draggable hidden id lang spellcheck style tabindex title translate
  44. " Event-handler Attributes
  45. syn keyword htmlArg contained onabort onblur oncanplay oncanplaythrough onchange
  46. syn keyword htmlArg contained onclick oncontextmenu ondblclick ondrag ondragend ondragenter ondragleave ondragover
  47. syn keyword htmlArg contained ondragstart ondrop ondurationchange onemptied onended onerror onfocus onformchange
  48. syn keyword htmlArg contained onforminput oninput oninvalid onkeydown onkeypress onkeyup onload onloadeddata
  49. syn keyword htmlArg contained onloadedmetadata onloadstart onmousedown onmousemove onmouseout onmouseover onmouseup
  50. syn keyword htmlArg contained onmousewheel onpause onplay onplaying onprogress onratechange onreadystatechange
  51. syn keyword htmlArg contained onscroll onseeked onseeking onselect onshow onstalled onsubmit onsuspend ontimeupdate
  52. syn keyword htmlArg contained onvolumechange onwaiting
  53. " XML Attributes
  54. syn keyword htmlArg contained xml:lang xml:space xml:base xmlns
  55. " new features
  56. " <body>
  57. syn keyword htmlArg contained onafterprint onbeforeprint onbeforeunload onblur onerror onfocus onhashchange onload
  58. syn keyword htmlArg contained onmessage onoffline ononline onpopstate onredo onresize onstorage onundo onunload
  59. " <video>, <audio>, <source>, <track>
  60. syn keyword htmlArg contained autoplay preload controls loop poster media kind charset srclang track
  61. " <form>, <input>, <button>
  62. syn keyword htmlArg contained form autocomplete autofocus list min max step
  63. syn keyword htmlArg contained formaction autofocus formenctype formmethod formtarget formnovalidate
  64. syn keyword htmlArg contained required placeholder
  65. " <command>, <details>, <time>
  66. syn keyword htmlArg contained label icon open datetime pubdate
  67. " <script>
  68. syn keyword htmlArg contained async
  69. " Custom Data Attributes
  70. " http://dev.w3.org/html5/spec/elements.html#embedding-custom-non-visible-data
  71. syn match htmlArg "\<\(data\(\-[a-z]\+\)\+\)\=\>" contained
  72. " Microdata
  73. " http://dev.w3.org/html5/md/
  74. syn keyword htmlArg contained itemid itemscope itemtype itemprop itemref
  75. " SVG
  76. " http://www.w3.org/TR/SVG/
  77. " Some common attributes from http://www.w3.org/TR/SVG/attindex.html
  78. syn keyword htmlArg contained accent-height accumulate additive alphabetic amplitude arabic-form ascent attributeName attributeType azimuth
  79. syn keyword htmlArg contained baseFrequency baseProfile bbox begin bias by
  80. syn keyword htmlArg contained calcMode cap-height class clipPathUnits contentScriptType contentStyleType cx cy
  81. syn keyword htmlArg contained d descent diffuseConstant divisor dur dx dy
  82. syn keyword htmlArg contained edgeMode elevation end exponent externalResourcesRequired
  83. syn keyword htmlArg contained fill filterRes filterUnits font-family font-size font-stretch font-style font-variant font-weight format format from fx fy
  84. syn keyword htmlArg contained g1 g2 glyph-name glyphRef gradientTransform gradientUnits
  85. syn keyword htmlArg contained hanging height horiz-adv-x horiz-origin-y
  86. syn keyword htmlArg contained id ideographic in in2 intercept
  87. syn keyword htmlArg contained k k1 k2 k3 k4 kernelMatrix kernelUnitLength keyPoints keySplines keyTimes
  88. syn keyword htmlArg contained lang lengthAdjust limitingConeAngle local
  89. syn keyword htmlArg contained markerHeight markerUnits markerWidth maskContentUnits maskUnits mathematical max media method min mode name
  90. syn keyword htmlArg contained numOctaves
  91. syn keyword htmlArg contained offset offset onabort onactivate onbegin onclick onend onerror onfocusin onfocusout onload onload onmousedown onmousemove onmouseout onmouseover onmouseup onrepeat onresize onscroll onunload onzoom operator order orient orientation origin overline-position overline-thickness
  92. syn keyword htmlArg contained panose-1 path pathLength patternContentUnits patternTransform patternUnits points pointsAtX pointsAtY pointsAtZ preserveAlpha preserveAspectRatio primitiveUnits
  93. syn keyword htmlArg contained r radius refX refY rendering-intent repeatCount repeatDur requiredExtensions requiredFeatures restart result rotate rx ry
  94. syn keyword htmlArg contained scale seed slope spacing specularConstant specularExponent spreadMethod startOffset stdDeviation stemh stemv stitchTiles strikethrough-position strikethrough-thickness string surfaceScale systemLanguage
  95. syn keyword htmlArg contained tableValues target targetX targetY textLength title to transform type u
  96. syn keyword htmlArg contained 1 u2 underline-position underline-thickness unicode unicode-range units-per-em
  97. syn keyword htmlArg contained v-alphabetic v-hanging v-ideographic v-mathematical values version vert-adv-y vert-origin-x vert-origin-y viewBox viewTarget
  98. syn keyword htmlArg contained width widths
  99. syn keyword htmlArg contained x x-height x1 x2 xChannelSelector xlink:actuate xlink:actuate xlink:arcrole xlink:href xlink:role xlink:show xlink:show xlink:title xlink:type xml:base xml:lang xml:space
  100. syn keyword htmlArg contained y y1 y2 yChannelSelector
  101. syn keyword htmlArg contained z zoomAndPan
  102. syn keyword htmlArg contained alignment-baseline baseline-shift clip-path clip-rule clip color-interpolation-filters color-interpolation color-profile color-rendering color cursor direction display dominant-baseline enable-background fill-opacity fill-rule fill filter flood-color flood-opacity font-family font-size-adjust font-size font-stretch font-style font-variant font-weight glyph-orientation-horizontal glyph-orientation-vertical image-rendering kerning letter-spacing lighting-color marker-end marker-mid marker-start mask opacity overflow pointer-events shape-rendering stop-color stop-opacity stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width stroke text-anchor text-decoration text-rendering unicode-bidi visibility word-spacing writing-mode