diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2019-06-01 21:51:54 +1200 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2019-06-01 21:51:54 +1200 |
commit | 4ae00d5a5cf92aed3cab774f72df8fcd6d141b94 (patch) | |
tree | 6854c7ed6f38768d0ef202f1f585dc30598fd787 | |
parent | Merge branch 'release/v3.0.0' (diff) | |
parent | Bump VERSION (diff) | |
download | vim-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-- | 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>) |