diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2019-09-25 21:13:21 +1200 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2019-09-25 21:13:21 +1200 |
commit | 856915956f0d7ebcb1b3cc16d6fa66ede32a37a6 (patch) | |
tree | 56888b8209c8ae20d5f35a97a1fe4e844106cd37 | |
parent | Add VERSION (diff) | |
parent | Bump VERSION (diff) | |
download | vim-scratch-buffer-develop.tar.gz vim-scratch-buffer-develop.zip |
Merge branch 'hotfix/v0.1.1' into developdevelop
* hotfix/v0.1.1:
Add version threshold
Correct load guard
-rw-r--r-- | VERSION | 2 | ||||
-rw-r--r-- | plugin/scratch_buffer.vim | 3 |
2 files changed, 3 insertions, 2 deletions
@@ -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 |