summaryrefslogtreecommitdiffstats
path: root/syntax/html
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--syntax/html.vim2
-rw-r--r--syntax/htmldjango.vim2
-rw-r--r--syntax/htmlm4.vim2
3 files changed, 3 insertions, 3 deletions
diff --git a/syntax/html.vim b/syntax/html.vim
index 37c03c45..c823d362 100644
--- a/syntax/html.vim
+++ b/syntax/html.vim
@@ -1,4 +1,4 @@
-if has_key(g:polyglot_is_disabled, 'html')
+if polyglot#init#is_disabled(expand('<sfile>:p'), 'html', 'syntax/html.vim')
finish
endif
diff --git a/syntax/htmldjango.vim b/syntax/htmldjango.vim
index d7060757..f4b4f676 100644
--- a/syntax/htmldjango.vim
+++ b/syntax/htmldjango.vim
@@ -1,4 +1,4 @@
-if has_key(g:polyglot_is_disabled, 'htmldjango')
+if polyglot#init#is_disabled(expand('<sfile>:p'), 'htmldjango', 'syntax/htmldjango.vim')
finish
endif
diff --git a/syntax/htmlm4.vim b/syntax/htmlm4.vim
index b2c8002a..be53419a 100644
--- a/syntax/htmlm4.vim
+++ b/syntax/htmlm4.vim
@@ -1,4 +1,4 @@
-if has_key(g:polyglot_is_disabled, 'htmlm4')
+if polyglot#init#is_disabled(expand('<sfile>:p'), 'htmlm4', 'syntax/htmlm4.vim')
finish
endif