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\indent
folder.
Notice that you should have a string filetype indent plugin on
in your vimrc file.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With