Skip to content
VimL
Find file
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
autoload
syntax/html
Makefile
README.markdown
config.mk

README.markdown

html5.vim

HTML5 omnicomplete funtion and syntax for Vim. Based on the default htmlcomplete.vim.

Feature

Install

Goto get vimball file. Open it with vim and execute :so% or

git clone git://github.com/othree/html5.vim.git
cd html5.vim
make install

Configure

Disable event-handler attributes support:

let g:event_handler_attributes_complete = 0

Disable RDFa attributes support:

let g:rdfa_attributes_complete = 0

Disable microdata attributes support:

let g:microdata_attributes_complete = 0

Disable WAI-ARIA attribute support:

let g:aria_attributes_complete = 0

Change Log

Version 0.2

  • attributes now must match from beginning
  • fix some attr(\won\w) will use jscomplete for their value
  • add vim-makefile

References

  1. HTML5 Spec
  2. HTML5 Markup
  3. Custom Data Attributes
  4. microdata
  5. RDFa 1.0 Rec
  6. RDFa 1.1 Core WD
  7. WAI-ARIA
  8. IANA Language Sub Tags
  9. IANA Charset
Something went wrong with that request. Please try again.