diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2018-06-29 14:57:33 +1200 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2018-06-29 14:57:33 +1200 |
commit | 6f3ecf4ad03b1d83994317f4e1c3138741c5c613 (patch) | |
tree | e5715830782e2eabfe9b7ced29fe5fc6baffd2d0 | |
parent | Merge branch 'hotfix/v0.3.2' into develop (diff) | |
download | vim-strip-trailing-whitespace-6f3ecf4ad03b1d83994317f4e1c3138741c5c613.tar.gz vim-strip-trailing-whitespace-6f3ecf4ad03b1d83994317f4e1c3138741c5c613.zip |
Add version guard
-rw-r--r-- | plugin/strip_trailing_whitespace.vim | 3 |
1 files changed, 3 insertions, 0 deletions
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 |