Commit Graph

9 Commits

Author SHA1 Message Date
Hugo Gualandi
8c9518306d Do not remove whitespace that is preceeded by if backslash
Trailing whitespace can be useful in .vimrc files if we want to set a
string property that ends in whitespace. For example:

    set showbreak=↪\ \ \

This change adds a "\\\@<!" at the start of every regex in the plugin
2015-12-05 16:39:32 -02:00
Scott Bronson
478b217d29 Merge pull request #10 from lucerion/master
Change whitespace highlighting event to BufRead
2015-07-24 15:01:15 -07:00
lucerion
c35e6ec061 Change whitespace highlighting to BufRead event 2015-05-21 00:06:54 +03:00
Martin Lundberg
01d9f26995 Make it a lot easier to override highlighting
Adding default to the highlight line make sure that the highlighting won't be overwritten if it's already set in a user colorscheme.
2015-04-12 01:10:47 +02:00
Takashi Kokubun
47af4b7137 Create variable to ignore specific filetypes for highlight 2014-08-09 09:19:19 +09:00
Duncan de Wet
7be1e55f10 Stop the script from double execution with a "loaded" variable 2013-10-18 21:56:20 +13:00
Scott Bronson
89a457addf Move FixWhitespace into a function. Closes #1
Help from http://github.com/Superflo/vim-files/blob/master/.vimrc#L277
2010-09-15 17:12:15 -07:00
Scott Bronson
c5f1e9298f save and restore the search highlight 2010-09-15 12:45:39 -07:00
Scott Bronson
e10ca02d0d initial checkin 2010-08-11 12:28:48 -07:00