summaryrefslogtreecommitdiffstats
path: root/after/syntax/html/aria.vim
diff options
context:
space:
mode:
Diffstat (limited to 'after/syntax/html/aria.vim')
-rw-r--r--after/syntax/html/aria.vim6
1 files changed, 3 insertions, 3 deletions
diff --git a/after/syntax/html/aria.vim b/after/syntax/html/aria.vim
index 0c555e6e..9e457bff 100644
--- a/after/syntax/html/aria.vim
+++ b/after/syntax/html/aria.vim
@@ -1,4 +1,6 @@
-if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'html5') == -1
+if !polyglot#util#IsEnabled('html5', expand('<sfile>:p'))
+ finish
+endif
" Vim syntax file
" Language: WAI-ARIA
@@ -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