Mercurial > vim
diff src/testdir/test3.in @ 3123:0ecfe54a273f v7.3.332
updated for version 7.3.332
Problem: Indent after "public:" is not increased in C++ code. (Lech Lorens)
Solution: Check for namespace after the regular checks. (partly by Martin
Gieseking)
author | Bram Moolenaar <bram@vim.org> |
---|---|
date | Tue, 04 Oct 2011 18:03:47 +0200 |
parents | c296c225736e |
children | c025592d7b1d |
line wrap: on
line diff
--- a/src/testdir/test3.in +++ b/src/testdir/test3.in @@ -1309,6 +1309,20 @@ protected: }; STARTTEST +:set cino=(0,gs,hs +2kdd]]=][ +ENDTEST + +class Foo : public Bar +{ +public: +virtual void method1(void) = 0; +virtual void method2(int arg1, +int arg2, +int arg3) = 0; +}; + +STARTTEST :set cino=+20 2kdd]]=][ ENDTEST