Re: Fwd: cursorline and paren match error
- Denis Perelyubskiy wrote:
> I apologize if some of you are seeing this a second time, since I knowThere is no solution. The paren error highlighting is from the syntax
> same people subscribe to both vim and vimdev. I thought I'd try the
> vimdev list in case this is a bug.
> Original Message:
> When writing C syntax, every time I make a paren error it gets
> highlighted. For example 'if (foo))', the second paren gets highlighted
> as white on red. I guess it is because of my 'hi Error guibg=Red
> guifg=White' in the colorscheme file.
> Here is a problem: when the error is on the line my cursor is positioned
> on and I have the 'set cursorline' in my gvimrc, all I see is a white
> paren - no red background.
> Is this a bug or a feature? If it is a feature, how do I make errors
> stand out on highlighted lines? I noticed one other e-mail about mixing
> colors of cursorline and normal syntax highlighting, but I think there
> was no solution given?
highlighting. The cursorline highlighting needs to overrule the syntax
highlighting, otherwise it would disappear in several situations, esp.
if the syntax highlighting uses background highlighting.
With sufficient thrust, pigs fly just fine.
-- RFC 1925
/// Bram Moolenaar -- Bram@... -- http://www.Moolenaar.net \\\
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\ download, build and distribute -- http://www.A-A-P.org ///
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///