Use the java cinoptions to get better behavior for initializers of
structures when using named member initialization.
Note that these options cause some C code to be indented incorrectly,
for example:
if (func1(arg, arg) ==
value) {
do_something();
}
becomes:
if (func1(arg, arg) ==
value) {
do_something();
}
set softtabstop=2 shiftwidth=2 expandtab
" cinoptions for code formatting
-set cinoptions=t0,us,U1,k2s
+set cinoptions=t0,us,U1,k2s,j1,J1
" File type specific settings.
if has("autocmd")