diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2019-06-01 21:47:10 +1200 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2019-06-01 21:47:10 +1200 |
commit | 1f585e421aab20889c8315e93ffc6d196544fd1f (patch) | |
tree | 10bace9fab53da7f8f05a37623db04cc2dcdf21c | |
parent | Merge branch 'release/v3.0.0' into develop (diff) | |
download | vim-strip-trailing-whitespace-1f585e421aab20889c8315e93ffc6d196544fd1f.tar.gz vim-strip-trailing-whitespace-1f585e421aab20889c8315e93ffc6d196544fd1f.zip |
Rename autoloaded interface function
-rw-r--r-- | autoload/strip_trailing_whitespace.vim | 2 | ||||
-rw-r--r-- | plugin/strip_trailing_whitespace.vim | 2 |
2 files changed, 2 insertions, 2 deletions
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>) |