Tuesday, February 14, 2012

does highlighting in colorcolumn's work?

Hello,

is it possible to highlight a match that happens in color columns?

I have set color columns with

:set colorcolumn=79,80

and tried to set highlighting of trailing whitespace with

:autocmd ColorScheme * highlight WhitespaceAtEOL ctermbg=DarkGreen
guibg=DarkGreen
:syntax match WhitespaceAtEOL /\s\+$/

The trailing whitespace that occurs in columns 79 or 80 is not
highlighted, and i do not see how to override this.

This is the same if i do

:match WhitespaceAtEOL /\s\+$/

Thanks,

Alexey.

--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

No comments: