aboutsummaryrefslogtreecommitdiff
path: root/vim/plugin/mail_mutt.vim
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2017-11-12 23:58:43 +1300
committerTom Ryder <tom@sanctum.geek.nz>2017-11-12 23:58:43 +1300
commit03919f1c03f89e17c90e398a7eaceabb21f1268c (patch)
tree96aa801066da03d5fe3f1ac3e700bb7d2fd9b581 /vim/plugin/mail_mutt.vim
parentUse :set not :setlocal for 'hlsearch'/'incsearch' (diff)
downloaddotfiles-03919f1c03f89e17c90e398a7eaceabb21f1268c.tar.gz
dotfiles-03919f1c03f89e17c90e398a7eaceabb21f1268c.zip
Separate g:loaded/&cp tests from feat tests
Keeping the tests at the beginning of plugins on one line without continuations is needed to work around &cpo-=C.
Diffstat (limited to 'vim/plugin/mail_mutt.vim')
-rw-r--r--vim/plugin/mail_mutt.vim5
1 files changed, 4 insertions, 1 deletions
diff --git a/vim/plugin/mail_mutt.vim b/vim/plugin/mail_mutt.vim
index 13389309..5170fb52 100644
--- a/vim/plugin/mail_mutt.vim
+++ b/vim/plugin/mail_mutt.vim
@@ -5,7 +5,10 @@
" Author: Tom Ryder <tom@sanctum.geek.nz>
" License: Same as Vim itself
"
-if exists('g:loaded_mail_mutt') || &compatible || !has('user_commands')
+if exists('g:loaded_mail_mutt') || &compatible
+ finish
+endif
+if !has('user_commands')
finish
endif
let g:loaded_mail_mutt = 1