lessspace.vim
lessspace.vim copied to clipboard
%s doesn't trigger stripping
The test file I used (note trailing whitespace on each line):
some spaces here
some more here
and again
The test command was :%s/here/there/
. After running the command, affected lines still have their trailing whitespace.
This was on Vim 8.1 (my own compiled version).
Hey, thanks for the report and sorry you're having trouble. That definitely should do something (and ideally, it would only strip changed lines -- see #13).
I am afk for a few days, but I will look into this when I can!
Reproduced. Not sure what's going on -- I think it used to strip. Maybe a regression.