Status: Accepted
Owner: [email protected]
Labels: Type-Defect Priority-Medium

New issue 32 by [email protected]: C indenting: preprocessor check causes the code to be indented too much
http://code.google.com/p/vim/issues/detail?id=32

In Vim code there is a file called farsi.h which includes code which can be simplified to:

char_u foo[]
#ifdef BAR
= { 0, 1
    2, 3 }
#endif
;

char_u baz[]
#ifdef
= { 4, 5,
    6, 7 }
#endif
;

Automatic code indentation in Vim causes everything following the first "#endif" to be indented one level too many.

--
You received this message from the "vim_dev" 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

Raspunde prin e-mail lui