Hi all,

I'm trying to indent C header with that supports C++ linkage
(somebody
else' code and I don't want to remove them).

The problem is that, the following code

extern "C" {

extern int foo();

}

would be indented into

extern "C" {
   extern int foo();
}

which is OK but not what I wanted: the function declaration would
look
better if it's not indented.

Is there a way to tell vim not to increase indentation level in such
case?

Thanks,

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

Reply via email to