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