Vim is indenting method definitions an extra level after an attribute. This is driving me crazy but I can’t figure out how to make it stop. I’ve disabled indenting entirely but this isn’t behavior I want. Is there a way to make Vim not indent an extra level after an attribute definition?
Here is a sample:
[Foo]
public void Bar()
{
}
Grab from here cs.vim file and put it in your
vimfiles\indentfolder.Notice that you should have a string
filetype indent plugin onin your vimrc file.