summaryrefslogtreecommitdiffstats
path: root/syntax/webmacro.vim
diff options
context:
space:
mode:
Diffstat (limited to 'syntax/webmacro.vim')
-rw-r--r--syntax/webmacro.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/syntax/webmacro.vim b/syntax/webmacro.vim
index df4fa69e..f6f8f2b3 100644
--- a/syntax/webmacro.vim
+++ b/syntax/webmacro.vim
@@ -1,4 +1,4 @@
-if has_key(g:polyglot_is_disabled, 'webmacro')
+if polyglot#init#is_disabled(expand('<sfile>:p'), 'webmacro', 'syntax/webmacro.vim')
finish
endif