aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2018-06-17 22:43:54 +1200
committerTom Ryder <tom@sanctum.geek.nz>2018-06-17 22:43:54 +1200
commitd2ef537c6d4a32196bb438f709c3bcdfc2a6aaf2 (patch)
tree5d7f76c72eb71029f69b20db1a41cf9e749a5549
parent095a09fe160e9b342c817a5a2df075f9256242cd (diff)
downloadvim-redact-pass-d2ef537c6d4a32196bb438f709c3bcdfc2a6aaf2.tar.gz
vim-redact-pass-d2ef537c6d4a32196bb438f709c3bcdfc2a6aaf2.zip
Add version guard
-rw-r--r--plugin/redact_pass.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugin/redact_pass.vim b/plugin/redact_pass.vim
index 14919bb..cf6dcbf 100644
--- a/plugin/redact_pass.vim
+++ b/plugin/redact_pass.vim
@@ -11,7 +11,7 @@
if exists('g:loaded_redact_pass') || &compatible
finish
endif
-if !has('autocmd')
+if !has('autocmd') || v:version < 600
finish
endif
let g:loaded_redact_pass = 1