dotfiles

My personal shell configs and stuff
git clone git://git.alex.balgavy.eu/dotfiles.git
Log | Files | Refs | Submodules | README | LICENSE

commit 2ce2e7dd603d28e81d639d099fd3025774d15c15
parent 264639123eff822d02c9ea9439571a66ad72f26b
Author: Alex Balgavy <alex@balgavy.eu>
Date:   Sun, 17 Jul 2022 14:56:34 +0200

vim: allow disabling strip trailing whitespace

Diffstat:
Mvim/plugin/strip_trailing_whitespace.vim | 3+++
1 file changed, 3 insertions(+), 0 deletions(-)

diff --git a/vim/plugin/strip_trailing_whitespace.vim b/vim/plugin/strip_trailing_whitespace.vim @@ -1,4 +1,7 @@ function s:StripTrailingWhitespace() + if exists('b:keep_trailing_space') + return + endif if &filetype != 'diff' normal m` %s/\s\+$//e