diff options
Diffstat (limited to 'syntax/html.vim')
-rw-r--r-- | syntax/html.vim | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/syntax/html.vim b/syntax/html.vim index a529b56b..61dacaa5 100644 --- a/syntax/html.vim +++ b/syntax/html.vim @@ -1,7 +1,4 @@ -if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'html5') != -1 - finish -endif - +if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'html5') == -1 " Vim syntax file " Language: HTML (version 5.1) " SVG (SVG 1.1 Second Edition) @@ -192,10 +189,8 @@ syn keyword htmlArg contained scriptlevel scriptminsize scriptsize scriptsizemul syn keyword htmlArg contained stretchy subscriptshift superscriptshift symmetric thickmathspace thinmathspace type valign verythickmathspace verythinmathspace syn keyword htmlArg contained veryverythickmathspace veryverythinmathspace voffset width xref -if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'jinja') != -1 - finish endif - +if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'jinja') == -1 " Vim syntax file " Language: HTML (version 5) " Maintainer: Rodrigo Machado <rcmachado@gmail.com> @@ -286,3 +281,4 @@ syn match htmlArg contained "\<aria-\(dropeffect\|grabbed\)\>" " Relationship Attributes syn match htmlArg contained "\<aria-\(activedescendant\|controls\|describedby\|flowto\|\)\>" syn match htmlArg contained "\<aria-\(labelledby\|owns\|posinset\|setsize\|\)\>" +endif |