Wednesday, November 24, 2010

Re: C++0x lambda syntax

On Thu, Nov 25, 2010 at 3:13 AM, Andrew Venikov
<Andrew.Venikov@genband.com> wrote:
>
>> No one is forcing you to make a choice.
>> There MUST be a way to figure this out. I dunno however.
>> u can work it out after reading the syntax schema of c.vim.
>> I believe it's easy for you, because it's also a very very beautiful
>> painting.
>
>
> Shouldn't it be cpp.vim?
> Or does cpp.vim include c.vim's definitions too?
cpp.vim includes c.vim as well.. you'll see a code-block like:

" Read the C syntax to start with
if version < 600
so <sfile>:p:h/c.vim
else
runtime! syntax/c.vim
unlet b:current_syntax
endif

..in c.vim.

A quick fix to solve the problem is to clear all bracket errors - you
can do this by a line:
:hi link cErrInParen Normal
in your .vimrc/_vimrc

The side effect is that *NONE* of the bracket errors are highlighted.

--
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: