aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2018-06-29 15:08:58 +1200
committerTom Ryder <tom@sanctum.geek.nz>2018-06-29 15:08:58 +1200
commit1c82f2b5c7365b04ec0f35654b1571476f41d709 (patch)
treeedc4f2d194d471d68b0c4362ae3aa8c2c44738e5
parentMerge branch 'hotfix/v0.3.2' (diff)
parentBump VERSION (diff)
downloadvim-strip-trailing-whitespace-1c82f2b5c7365b04ec0f35654b1571476f41d709.tar.gz
vim-strip-trailing-whitespace-1c82f2b5c7365b04ec0f35654b1571476f41d709.zip
Merge branch 'release/v0.4.0'v0.4.0
* release/v0.4.0: Bump VERSION Add version guard
-rw-r--r--VERSION2
-rw-r--r--plugin/strip_trailing_whitespace.vim3
2 files changed, 4 insertions, 1 deletions
diff --git a/VERSION b/VERSION
index d15723f..1d0ba9e 100644
--- a/VERSION
+++ b/VERSION
@@ -1 +1 @@
-0.3.2
+0.4.0
diff --git a/plugin/strip_trailing_whitespace.vim b/plugin/strip_trailing_whitespace.vim
index c2a5161..72a43a8 100644
--- a/plugin/strip_trailing_whitespace.vim
+++ b/plugin/strip_trailing_whitespace.vim
@@ -8,6 +8,9 @@
if exists('g:loaded_strip_trailing_whitespace') || &compatible
finish
endif
+if v:version < 600
+ finish
+endif
let g:loaded_strip_trailing_whitespace = 1
" Define function for stripping whitespace