summaryrefslogtreecommitdiffstats
path: root/ftplugin/gitsendemail.vim
diff options
context:
space:
mode:
Diffstat (limited to 'ftplugin/gitsendemail.vim')
-rw-r--r--ftplugin/gitsendemail.vim8
1 files changed, 4 insertions, 4 deletions
diff --git a/ftplugin/gitsendemail.vim b/ftplugin/gitsendemail.vim
index 69e0360e..baf6080e 100644
--- a/ftplugin/gitsendemail.vim
+++ b/ftplugin/gitsendemail.vim
@@ -1,10 +1,10 @@
-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: git send-email message
" Maintainer: Tim Pope <vimNOSPAM@tpope.org>
" Last Change: 2009 Dec 24
runtime! ftplugin/mail.vim
-
-endif