aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2019-06-01 21:51:54 +1200
committerTom Ryder <tom@sanctum.geek.nz>2019-06-01 21:51:54 +1200
commit4ae00d5a5cf92aed3cab774f72df8fcd6d141b94 (patch)
tree6854c7ed6f38768d0ef202f1f585dc30598fd787
parentMerge branch 'release/v3.0.0' (diff)
parentBump VERSION (diff)
downloadvim-strip-trailing-whitespace-4ae00d5a5cf92aed3cab774f72df8fcd6d141b94.tar.gz
vim-strip-trailing-whitespace-4ae00d5a5cf92aed3cab774f72df8fcd6d141b94.zip
Merge branch 'release/v3.1.0'v3.1.0
* release/v3.1.0: Rename autoloaded interface function
-rw-r--r--VERSION2
-rw-r--r--autoload/strip_trailing_whitespace.vim2
-rw-r--r--plugin/strip_trailing_whitespace.vim2
3 files changed, 3 insertions, 3 deletions
diff --git a/VERSION b/VERSION
index 4a36342..fd2a018 100644
--- a/VERSION
+++ b/VERSION
@@ -1 +1 @@
-3.0.0
+3.1.0
diff --git a/autoload/strip_trailing_whitespace.vim b/autoload/strip_trailing_whitespace.vim
index 681016e..f9e9a1e 100644
--- a/autoload/strip_trailing_whitespace.vim
+++ b/autoload/strip_trailing_whitespace.vim
@@ -1,6 +1,6 @@
" Wrapper function to strip both horizontal and vertical trailing whitespace,
" return the cursor to its previous position, and report changes
-function! strip_trailing_whitespace#Strip(start, end) abort
+function! strip_trailing_whitespace#(start, end) abort
" Save cursor position
let pos = getpos('.')
diff --git a/plugin/strip_trailing_whitespace.vim b/plugin/strip_trailing_whitespace.vim
index 2cbfb5d..a20a8a1 100644
--- a/plugin/strip_trailing_whitespace.vim
+++ b/plugin/strip_trailing_whitespace.vim
@@ -16,4 +16,4 @@ let loaded_strip_trailing_whitespace = 1
" User command for the above
command! -range=% StripTrailingWhitespace
- \ call strip_trailing_whitespace#Strip(<line1>, <line2>)
+ \ call strip_trailing_whitespace#(<line1>, <line2>)