Is it possible to set the editor to only strip trailing whitespace for certain file types?
Or is it possible to change the character used to display white space after lines?
Basically in 99% of the files I edit I don't want trailing white-space. However it is syntatically meaningful in Markdown where it indicates hard line breaks.
Because of that I have to disable 'trim trailing whitespace' option for all files. However i also just can't really see the trailing whitespace markers as they're a single pixel, which is too small for me to see without peering at the screen closely.
So ideally, I'd like to be able to set the trim behaviour per file, failing that is it possible to set the trailing whitespace char to be something visible like a '░' character ?