Unwanted indentation level after C # attribute in Vim

Vim is defining the indentation of defining an extra level after an attribute. It drives me crazy, but I can't figure out how to stop it. I have disabled padding completely, but this is not the behavior I want. Is there a way to make Vim not indent an extra layer after defining an attribute?

Here's an example:

  public void Bar()



source to share

1 answer

Take the cs.vim file from here and place it in your folder vimfiles\indent


Note that there must be a line in your vimrc file filetype indent plugin on




All Articles