summaryrefslogtreecommitdiffstats
path: root/syntax/html/aria.vim
diff options
context:
space:
mode:
Diffstat (limited to 'syntax/html/aria.vim')
-rw-r--r--syntax/html/aria.vim8
1 files changed, 4 insertions, 4 deletions
diff --git a/syntax/html/aria.vim b/syntax/html/aria.vim
index 3bb377ea..78106c17 100644
--- a/syntax/html/aria.vim
+++ b/syntax/html/aria.vim
@@ -1,5 +1,7 @@
-if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'html5') == -1
-
+if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'html5') != -1
+ finish
+endif
+
" Vim syntax file
" Language: WAI-ARIA
" Maintainer: othree <othree@gmail.com>
@@ -75,5 +77,3 @@ syn match htmlArg contained "\<aria-\%(\|labelledby\|owns\|posinset\|setsize\
syn match htmlArg contained "\<aria-\%(\|colcount\|colindex\|colspan\)\>"
syn match htmlArg contained "\<aria-\%(\|rowcount\|rowindex\|rowspan\)\>"
-
-endif