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