Status: New
Owner: ----
Labels: Type-Defect Priority-Medium
New issue 9 by [email protected]: cindent: regression in C++ class
indenting after 7.3.202
http://code.google.com/p/vim/issues/detail?id=9
What steps will reproduce the problem?
Try indenting a file with the following contents with the settings as
specified by the modeline:
#v+
// vim: cindent cino=(0,gs,hs et sw=8
class Foo : public Bar
{
public:
virtual void method1(void) = 0; // FIXME: 2 indent levels
virtual void method2(int arg1,
int arg2,
int arg3) = 0;
};
#v-
What is the expected output? What do you see instead?
The output file should be identical as the input but instead method
declarations are indented one level too few:
#v+
// vim: cindent cino=(0,gs,hs et sw=8
class Foo : public Bar
{
public:
virtual void method1(void) = 0; // FIXME: 2 indent levels
virtual void method2(int arg1,
int arg2,
int arg3) = 0;
};
#v-
As noted in the summary, the problem was introduced in 7.3.202.
--
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