diff options
-rw-r--r-- | VERSION | 2 | ||||
-rw-r--r-- | autoload/strip_trailing_whitespace.vim | 2 | ||||
-rw-r--r-- | plugin/strip_trailing_whitespace.vim | 2 |
3 files changed, 3 insertions, 3 deletions
@@ -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>) |