Skip to content

Commit b00c8d2

Browse files
committed
Added highlighting of trailing spaces for gvim.
1 parent 629f079 commit b00c8d2

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

gvimrc

+5
Original file line numberDiff line numberDiff line change
@@ -15,3 +15,8 @@ if has('mac')
1515
"set guifont=Monaco:h12
1616
set guifont=Bitstream_Vera_Sans_Mono:h12
1717
endif
18+
19+
"Highlight spaces at the end of lines
20+
let c_space_errors=1
21+
highlight WhitespaceEOL ctermbg=red guibg=red
22+
match WhitespaceEOL /\s\+$/

0 commit comments

Comments
 (0)