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