Closed hugomg closed 8 years ago
... so "\ " at the end of a line won't ever be highlighted as an error. This makes sense.
I worry about performance in large files but I figure we can mere it and back out if it's too slow.
@hugomg could you rebase this on master? Sorry for the delay. :-/
I'm a bit rusty on my git-fu right now and don't remember how to rebase a pull request. Do you think you can do it for me?
The basic change is what I described before: add a \\@<!
to the start of all the whitespace regexes. It means "not preceded by backslash".
Yes, I owe you that. :) Merged, thanks!
Trailing whitespace can be useful in .vimrc files if we want to set a string property that ends in whitespace. For example:
This change adds a "\@<!" at the start of every regex in the plugin