diff options
author | Ekaitz Zárraga <ekaitz.zarraga@gmail.com> | 2016-05-21 12:41:08 +0200 |
---|---|---|
committer | Ekaitz Zárraga <ekaitz.zarraga@gmail.com> | 2016-05-21 12:41:08 +0200 |
commit | 3252f456ac7a592324028fa80193f79779071d87 (patch) | |
tree | f64a253fd2ede6dbdaf4b72666e1950438ef942e /vim | |
parent | b1284d9671d3811cbafb5b10d2a0b6b8ec19376d (diff) | |
parent | c8574012e4d8a826f6f390559531390ecf9d103f (diff) |
merge
Diffstat (limited to 'vim')
-rw-r--r-- | vim/.vimrc | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -35,6 +35,8 @@ autocmd BufWinEnter * match ExtraWhitespace /\s\+$/ autocmd InsertEnter * match ExtraWhitespace /\s\+\%#\@<!$/ autocmd InsertLeave * match ExtraWhitespace /\s\+$/ autocmd BufWinLeave * call clearmatches() +autocmd ColorScheme * highlight ExtraWhitespace ctermbg=red guibg=red + " Clear trailing spaces on <F2> function TrimWhiteSpace() |