My dotfiles. Period.

aria.vim 1.5KB

1234567891011121314151617181920212223242526272829303132333435
  1. " Vim syntax file
  2. " Language: WAI-ARIA
  3. " Maintainer: othree <othree@gmail.com>
  4. " URL: http://github.com/othree/html5-syntax.vim
  5. " Last Change: 2010-09-25
  6. " License: MIT
  7. " Changes: update to Draft 16 September 2010
  8. " WAI-ARIA States and Properties
  9. " http://www.w3.org/TR/wai-aria/states_and_properties
  10. syn keyword htmlArg contained role
  11. " Global States and Properties
  12. syn match htmlArg contained "\<aria-\(atomic\|busy\|controls\|describedby\)\>"
  13. syn match htmlArg contained "\<aria-\(disabled\|dropeffect\|flowto\|grabbed\)\>"
  14. syn match htmlArg contained "\<aria-\(haspopup\|hidden\|invalid\|label\)\>"
  15. syn match htmlArg contained "\<aria-\(labelledby\|live\|owns\|relevant\)\>"
  16. " Widget Attributes
  17. syn match htmlArg contained "\<aria-\(autocomplete\|checked\|disabled\|expanded\)\>"
  18. syn match htmlArg contained "\<aria-\(haspopup\|hidden\|invalid\|label\)\>"
  19. syn match htmlArg contained "\<aria-\(level\|multiline\|multiselectable\|orientation\)\>"
  20. syn match htmlArg contained "\<aria-\(pressed\|readonly\|required\|selected\)\>"
  21. syn match htmlArg contained "\<aria-\(sort\|valuemax\|valuemin\|valuenow\|valuetext\|\)\>"
  22. " Live Region Attributes
  23. syn match htmlArg contained "\<aria-\(atomic\|busy\|live\|relevant\|\)\>"
  24. " Drag-and-Drop attributes
  25. syn match htmlArg contained "\<aria-\(dropeffect\|grabbed\)\>"
  26. " Relationship Attributes
  27. syn match htmlArg contained "\<aria-\(activedescendant\|controls\|describedby\|flowto\|\)\>"
  28. syn match htmlArg contained "\<aria-\(labelledby\|owns\|posinset\|setsize\|\)\>"