diff options
| author | jdhao <jdhao@hotmail.com> | 2020-09-27 21:30:30 +0800 |
|---|---|---|
| committer | jdhao <jdhao@hotmail.com> | 2020-09-27 21:30:30 +0800 |
| commit | cb478b5ce15edb731691eac0ef7d43c84a2968a8 (patch) | |
| tree | 38bc4a9aeec12085af192a3303a87c10a2927629 /autoload/utils.vim | |
| parent | 5c4223b27dcf161d7b0f8c660d413425d9fefd0a (diff) | |
add ! for custom functions
Diffstat (limited to 'autoload/utils.vim')
| -rw-r--r-- | autoload/utils.vim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/autoload/utils.vim b/autoload/utils.vim index 44125ac..de1446e 100644 --- a/autoload/utils.vim +++ b/autoload/utils.vim @@ -1,5 +1,5 @@ " Remove trailing white space, see https://vi.stackexchange.com/a/456/15292 -function utils#StripTrailingWhitespaces() abort +function! utils#StripTrailingWhitespaces() abort let l:save = winsaveview() " vint: next-line -ProhibitCommandRelyOnUser -ProhibitCommandWithUnintendedSideEffect keeppatterns %s/\v\s+$//e |
