# html5.vim

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

## Feature

- Support all new elements and attribute.
- Support [microdata][microdata].
- Support [RDFa][RDFa].
- Support [WAI-ARIA][aria].

## Install

    curl http://github.com/othree/html5.vim/raw/master/autoload/htmlcomplete.vim > ~/.vim/autoload/htmlcomplete.vim
    curl http://github.com/othree/html5.vim/raw/master/autoload/xml/html5.vim > ~/.vim/autoload/xml/html5.vim
    curl http://github.com/othree/html5.vim/raw/master/syntax/html.vim > ~/.vim/syntax/html.vim

or 

    git clone git://github.com/othree/html5.vim.git
    cd html5.vim
    cp -R autoload ~/.vim/

## 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 aria attribute support:

    let g:atia_attributes_complete = 0

[microdata]:http://dev.w3.org/html5/md/
[RDFa]:http://www.w3.org/TR/rdfa-syntax/
[aria]:http://www.w3.org/TR/wai-aria/

# html5.vim

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

## Feature

- Support all new elements and attribute.
- Support [microdata][microdata].
- Support [RDFa][RDFa].
- Support [WAI-ARIA][aria].

## Install

    curl http://github.com/othree/html5.vim/raw/master/autoload/htmlcomplete.vim > ~/.vim/autoload/htmlcomplete.vim
    curl http://github.com/othree/html5.vim/raw/master/autoload/xml/html5.vim > ~/.vim/autoload/xml/html5.vim
    curl http://github.com/othree/html5.vim/raw/master/syntax/html.vim > ~/.vim/syntax/html.vim

or 

    git clone git://github.com/othree/html5.vim.git
    cd html5.vim
    cp -R autoload ~/.vim/

## 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:atia_attributes_complete = 0

[microdata]:http://dev.w3.org/html5/md/
[RDFa]:http://www.w3.org/TR/rdfa-syntax/
[aria]:http://www.w3.org/TR/wai-aria/

Fix WAI-ARIA to right case
Fix WAI-ARIA to right case
