aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2019-09-25 21:09:00 +1200
committerTom Ryder <tom@sanctum.geek.nz>2019-09-25 21:11:20 +1200
commit14ead9437241916483eac2bbedb5018bbd8ff958 (patch)
tree126bd6fe6a02cc7e76b111c3253a5d0933fb5adc
parentCorrect load guard (diff)
downloadvim-scratch-buffer-14ead9437241916483eac2bbedb5018bbd8ff958.tar.gz
vim-scratch-buffer-14ead9437241916483eac2bbedb5018bbd8ff958.zip
Add version threshold
-rw-r--r--plugin/scratch_buffer.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugin/scratch_buffer.vim b/plugin/scratch_buffer.vim
index caad3cb..e2a7aa6 100644
--- a/plugin/scratch_buffer.vim
+++ b/plugin/scratch_buffer.vim
@@ -4,7 +4,7 @@
" Author: Tom Ryder <tom@sanctum.geek.nz>
" License: Same as Vim itself
"
-if exists('loaded_scratch_buffer') || &compatible
+if exists('loaded_scratch_buffer') || &compatible || v:version < 700
finish
endif
let loaded_scratch_buffer = 1