diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2018-06-29 15:08:58 +1200 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2018-06-29 15:08:58 +1200 |
commit | 1c82f2b5c7365b04ec0f35654b1571476f41d709 (patch) | |
tree | edc4f2d194d471d68b0c4362ae3aa8c2c44738e5 | |
parent | Merge branch 'hotfix/v0.3.2' (diff) | |
parent | Bump VERSION (diff) | |
download | vim-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-- | VERSION | 2 | ||||
-rw-r--r-- | plugin/strip_trailing_whitespace.vim | 3 |
2 files changed, 4 insertions, 1 deletions
@@ -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 |