lessspace.vim icon indicating copy to clipboard operation
lessspace.vim copied to clipboard

%s doesn't trigger stripping

Open henrebotha opened this issue 5 years ago • 2 comments

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).

henrebotha avatar Mar 22 '19 09:03 henrebotha

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!

thirtythreeforty avatar Mar 22 '19 22:03 thirtythreeforty

Reproduced. Not sure what's going on -- I think it used to strip. Maybe a regression.

thirtythreeforty avatar Mar 26 '19 16:03 thirtythreeforty