aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--VERSION2
-rw-r--r--plugin/scratch_buffer.vim3
2 files changed, 3 insertions, 2 deletions
diff --git a/VERSION b/VERSION
index 6e8bf73..17e51c3 100644
--- a/VERSION
+++ b/VERSION
@@ -1 +1 @@
-0.1.0
+0.1.1
diff --git a/plugin/scratch_buffer.vim b/plugin/scratch_buffer.vim
index fe7a872..e2a7aa6 100644
--- a/plugin/scratch_buffer.vim
+++ b/plugin/scratch_buffer.vim
@@ -4,9 +4,10 @@
" Author: Tom Ryder <tom@sanctum.geek.nz>
" License: Same as Vim itself
"
-if exists('loaded_alternate_filetypes') || &compatible
+if exists('loaded_scratch_buffer') || &compatible || v:version < 700
finish
endif
+let loaded_scratch_buffer = 1
" Command to open scratch buffer
command! -bar -count=0 -nargs=* ScratchBuffer