preservim / vim-pencil

Rethinking Vim as a tool for writing
Other
1.57k stars 38 forks source link

vim-pencil applies 'set nolist' in soft wrap mode? #79

Open andrewferrier opened 5 years ago

andrewferrier commented 5 years ago

Thanks for your great work on vim-pencil, super-useful plugin!

It appears that in soft wrap mode, vim-pencil applies set nolist. I assume this is to avoid showing lots of 'extends' characters, but unfortunately it also hides trailing spaces, which is not ideal (I don't think there's a logical reason why trailing spaces are more desirable in soft wrap mode than hard wrap mode?). I prefer to make trailing spaces very visible (call it OCD ;).

It would be great if vim-pencil was instead able to leave that toggle alone, and perhaps just blank out the 'extends' and 'precedes' characters from listchars.