title: Change R indentation style in vim with Vim-R-plugin
body: <p>I'm using the Vim-R-plugin with Vim to provide syntax highlighting for my R code. The regular indentation style aligns parameters in a function at the opening of the parentheses. I'd like to change this to be more like code within curly braces, where new lines are indented two spaces instead of inline with the curly braces.</p>
  
  <p>My function names tend to be verbose and the default indentation style leaves all my parameters pushed all the way to the right of the screen.</p>
  
  <p>Here's some examples:</p>
  
  <pre><code># Default indentation style
  result &lt;- fun(
                par1 = "abc",
                par2 = "def",
                par3 = 3
                )
  </code></pre>
  
  <p>The desired style mimics the indentation style for <code>for</code> loops and function definitions.</p>
  
  <pre><code># Desired indentation style
  result &lt;- fun(
    par1 = "abc",
    par2 = "def",
    par3 = 3
  )
  
  # Similar to for loop indentation
  for(i in 1:10) {
    print(i)
  }
  
  # ... and function definitions
  fun &lt;- function(par1 = 1) {
   print(par1 + 1)
  }
  </code></pre>
  
  <p>I looked at the Vim-R-plugin code but it's too dense for me to understand. Is there a way for me to change it?</p>