Curly brace style setting or disabling auto-formatting

I use an atypical curly brace style in R:

if (xyzzy)

In R Studio editor when editing either R or R markdown file, when I enter either left or right brace it moves it to align with the "if" instead of leaving it where I typed it. Is there a way to tell RStudio what brace indent style I want, or if not, is there a way to turn off all auto-formatting features of the RStudio editor? I tried turning off all options that seemed related, but that didn't do it.

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.