mirror of
https://github.com/jdhao/nvim-config.git
synced 2025-06-08 14:14:33 +02:00
add ! for custom functions
This commit is contained in:
parent
5c4223b27d
commit
cb478b5ce1
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user