aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2019-05-28 23:21:02 +1200
committerTom Ryder <tom@sanctum.geek.nz>2019-05-28 23:21:02 +1200
commitfe84095e699642359ba59ce53684edaf6ac00b2f (patch)
tree0d93e249f31bca1adf8a6e88c85be7f14d372531
parentc0b376f4b38cd748652f388f7a86c7a37be358ac (diff)
parentd2acdb15ab582e847ef496ce3b53920d1dfdd6a5 (diff)
downloadvim-squeeze-repeat-blanks-fe84095e699642359ba59ce53684edaf6ac00b2f.tar.gz
vim-squeeze-repeat-blanks-fe84095e699642359ba59ce53684edaf6ac00b2f.zip
Merge branch 'release/v0.4.0'v0.4.0
* release/v0.4.0: Simplify load guard a bit
-rw-r--r--VERSION2
-rw-r--r--doc/squeeze_repeat_blanks.txt2
-rw-r--r--plugin/squeeze_repeat_blanks.vim5
3 files changed, 3 insertions, 6 deletions
diff --git a/VERSION b/VERSION
index 0d91a54..1d0ba9e 100644
--- a/VERSION
+++ b/VERSION
@@ -1 +1 @@
-0.3.0
+0.4.0
diff --git a/doc/squeeze_repeat_blanks.txt b/doc/squeeze_repeat_blanks.txt
index 0eb4894..5a56c23 100644
--- a/doc/squeeze_repeat_blanks.txt
+++ b/doc/squeeze_repeat_blanks.txt
@@ -1,4 +1,4 @@
-*squeeze_repeat_blanks.txt* For Vim version 7.0 Last change: 2018 Aug 30
+*squeeze_repeat_blanks.txt* For Vim version 7.0 Last change: 2019 May 28
DESCRIPTION *squeeze_repeat_blanks*
diff --git a/plugin/squeeze_repeat_blanks.vim b/plugin/squeeze_repeat_blanks.vim
index fb85812..fa6e1a5 100644
--- a/plugin/squeeze_repeat_blanks.vim
+++ b/plugin/squeeze_repeat_blanks.vim
@@ -6,10 +6,7 @@
" Author: Tom Ryder <tom@sanctum.geek.nz>
" License: Same as Vim itself
"
-if exists('loaded_squeeze_repeat_blanks') || &compatible
- finish
-endif
-if !has('user_commands') || v:version < 700
+if exists('loaded_squeeze_repeat_blanks') || &compatible || v:version < 700
finish
endif
let loaded_squeeze_repeat_blanks = 1