summaryrefslogtreecommitdiffstats
path: root/after/syntax/html
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--after/syntax/html.vim2
-rw-r--r--after/syntax/html/aria.vim2
-rw-r--r--after/syntax/html/electron.vim2
-rw-r--r--after/syntax/html/rdfa.vim2
4 files changed, 4 insertions, 4 deletions
diff --git a/after/syntax/html.vim b/after/syntax/html.vim
index 8bdc0b0f..56ba064c 100644
--- a/after/syntax/html.vim
+++ b/after/syntax/html.vim
@@ -1,4 +1,4 @@
-if !polyglot#util#IsEnabled('html5', expand('<sfile>:p'))
+if !has_key(g:polyglot_is_disabled, 'html5')
finish
endif
diff --git a/after/syntax/html/aria.vim b/after/syntax/html/aria.vim
index 9e457bff..ed5a8383 100644
--- a/after/syntax/html/aria.vim
+++ b/after/syntax/html/aria.vim
@@ -1,4 +1,4 @@
-if !polyglot#util#IsEnabled('html5', expand('<sfile>:p'))
+if !has_key(g:polyglot_is_disabled, 'html5')
finish
endif
diff --git a/after/syntax/html/electron.vim b/after/syntax/html/electron.vim
index 636e810d..d7bfa90f 100644
--- a/after/syntax/html/electron.vim
+++ b/after/syntax/html/electron.vim
@@ -1,4 +1,4 @@
-if !polyglot#util#IsEnabled('html5', expand('<sfile>:p'))
+if !has_key(g:polyglot_is_disabled, 'html5')
finish
endif
diff --git a/after/syntax/html/rdfa.vim b/after/syntax/html/rdfa.vim
index ec7d714b..529c2fcd 100644
--- a/after/syntax/html/rdfa.vim
+++ b/after/syntax/html/rdfa.vim
@@ -1,4 +1,4 @@
-if !polyglot#util#IsEnabled('html5', expand('<sfile>:p'))
+if !has_key(g:polyglot_is_disabled, 'html5')
finish
endif