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