Hi

C# indent just uses 'cindent' (from its indent file) and it causes
some problems with indent level after entering attributes.
In code like this
[MyAttribute]
    public void F();

next line after [] is auto indented to next level.
And standard way of handling this it to have same indent.

My vimrc has lines
   set autoindent
   filetype plugin indent on

I guess this is default behavior for C/C++ where you could put smth
like this
   int[]
        func()
which makes sense.

Could this behavior be changed somehow? Didn't find any option to
change this, the predefined words that trigger indent shift are like
'while, for, ...'

Thanks

-- 
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php

Reply via email to