summaryrefslogtreecommitdiffstats
path: root/ftplugin/git.vim
diff options
context:
space:
mode:
Diffstat (limited to 'ftplugin/git.vim')
-rw-r--r--ftplugin/git.vim4
1 files changed, 4 insertions, 0 deletions
diff --git a/ftplugin/git.vim b/ftplugin/git.vim
index c9bcd436..853dfa10 100644
--- a/ftplugin/git.vim
+++ b/ftplugin/git.vim
@@ -1,3 +1,5 @@
+if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'git') == -1
+
" Vim filetype plugin
" Language: generic git output
" Maintainer: Tim Pope <vimNOSPAM@tpope.org>
@@ -36,3 +38,5 @@ endif
setlocal includeexpr=substitute(v:fname,'^[^/]\\+/','','')
let b:undo_ftplugin = "setl keywordprg< path< includeexpr<"
+
+endif