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