aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2019-05-25 21:56:31 +1200
committerTom Ryder <tom@sanctum.geek.nz>2019-05-25 21:56:31 +1200
commit7ed8926958184a09811314d39233ea4311188b4a (patch)
treec74e6f1bdc21c2a24a6519c7df9b77442475617a
parent66fa75c8ca81e012079a69e9e4f0bd2ca69f0a09 (diff)
downloadvim-redact-pass-7ed8926958184a09811314d39233ea4311188b4a.tar.gz
vim-redact-pass-7ed8926958184a09811314d39233ea4311188b4a.zip
Move load guard tests inline
-rw-r--r--plugin/redact_pass.vim5
1 files changed, 1 insertions, 4 deletions
diff --git a/plugin/redact_pass.vim b/plugin/redact_pass.vim
index 3e30d88..06c5606 100644
--- a/plugin/redact_pass.vim
+++ b/plugin/redact_pass.vim
@@ -8,10 +8,7 @@
" Author: Tom Ryder <tom@sanctum.geek.nz>
" License: Same as Vim itself
"
-if exists('loaded_redact_pass') || &compatible
- finish
-endif
-if v:version < 700
+if exists('loaded_redact_pass') || &compatible || v:version < 700
finish
endif
let loaded_redact_pass = 1