summaryrefslogtreecommitdiffstats
path: root/autoload/xml/html5.vim
diff options
context:
space:
mode:
Diffstat (limited to 'autoload/xml/html5.vim')
-rw-r--r--autoload/xml/html5.vim12
1 files changed, 8 insertions, 4 deletions
diff --git a/autoload/xml/html5.vim b/autoload/xml/html5.vim
index 2fad3521..b422b2ca 100644
--- a/autoload/xml/html5.vim
+++ b/autoload/xml/html5.vim
@@ -1,9 +1,9 @@
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'html5') == -1
" Vim completion for HTML5 data file
-" Language: HTML5
-" Maintainer: othree <othree@gmail.com>
-" Last Change: 2011 Apr 9
+" Language: HTML (version 5.1 Draft 2016 Jan 13)
+" Maintainer: Kao, Wei-Ko(othree) ( othree AT gmail DOT com )
+" Last Change: 2016 Jan 20
" Lang Tag: {{{
@@ -598,9 +598,13 @@ let g:xmldata_html5 = {
\ global_attributes
\ ],
\ 'menu': [
- \ flow_elements + ['li'],
+ \ flow_elements + ['menuitem'],
\ extend(copy(global_attributes), {'type': ['toolbar', 'context'], 'label': []})
\ ],
+\ 'menuitem': [
+ \ flow_elements + ['li'],
+ \ extend(copy(global_attributes), {'type': ['toolbar', 'context'], 'label': [], 'icon': [], 'disabled': [], 'checked': [], 'radiogroup': [], 'default': [], 'command': []})
+\ ],
\ 'meta': [
\ [],
\ extend(copy(global_attributes), {'name': ['application-name', 'author', 'description', 'generator', 'referrer', 'creator', 'googlebot', 'publisher', 'robots', 'slurp', 'viewport', 'theme-color'], 'http-equiv': ['refresh', 'default-style', 'content-type'], 'content': [], 'charset': charset})