aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2018-07-08 00:47:30 +1200
committerTom Ryder <tom@sanctum.geek.nz>2018-07-08 00:47:30 +1200
commit6f5a38f667b8de3baf190d6eb8a62f11862c26fe (patch)
treece26fa904eeb2b28fd06c7102446b49b0852072e
parentMerge branch 'release/v0.6.0' (diff)
parentBump VERSION (diff)
downloadvim-strip-trailing-whitespace-6f5a38f667b8de3baf190d6eb8a62f11862c26fe.tar.gz
vim-strip-trailing-whitespace-6f5a38f667b8de3baf190d6eb8a62f11862c26fe.zip
Merge branch 'hotfix/v0.6.1'v0.6.1
* hotfix/v0.6.1: Give cutoff point a sensible starting value
-rw-r--r--VERSION2
-rw-r--r--plugin/strip_trailing_whitespace.vim2
2 files changed, 2 insertions, 2 deletions
diff --git a/VERSION b/VERSION
index a918a2a..faef31a 100644
--- a/VERSION
+++ b/VERSION
@@ -1 +1 @@
-0.6.0
+0.7.0
diff --git a/plugin/strip_trailing_whitespace.vim b/plugin/strip_trailing_whitespace.vim
index b332034..2714f36 100644
--- a/plugin/strip_trailing_whitespace.vim
+++ b/plugin/strip_trailing_whitespace.vim
@@ -17,7 +17,7 @@ let g:loaded_strip_trailing_whitespace = 1
function! s:StripTrailingWhitespace()
" Line number of last line that had non-whitespace characters on it
- let l:cutoff = 0
+ let l:cutoff = 1
" Tracking lines trimmed between non-whitespace lines and then totalling
let l:trimmed_buffer = 0