You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you go to the next line the cursor lines itself up with in the same column as s in string. Note that you need the parentheses around the string. Otherwise if you leave them out, it doesn't indent on the line after multi (which is fine and how other languages seem to behave).
Also if I have
a <- ("multi
line
indented
string")
And indent with =ap, the indented line gets brought back to the same indent level as everything else. Text in strings should be left alone when indenting.
The text was updated successfully, but these errors were encountered:
Sorry, but I'm not going to fix bugs in the indent/r.vim script because it's too difficult to fix bugs there without breaking anything else. Unfortunately, we have to wait until someone either fixes the bug or completely rewrites the indent/r.vim script.
I deleted from the Vim-R-plugin the files that are already distributed as official Vim runtime files. Now, there is a new repository with these files: https://github.com/jalvesaq/R-Vim-runtime
Since the official runtime files are no longer in this repository, I'm closing this bug. This bug is already described in the Known bugs section of the README.md, and new bugs should be reported in the new repository.
Pretty simple example here:
If you go to the next line the cursor lines itself up with in the same column as s in string. Note that you need the parentheses around the string. Otherwise if you leave them out, it doesn't indent on the line after
multi
(which is fine and how other languages seem to behave).Also if I have
And indent with
=ap
, the indented line gets brought back to the same indent level as everything else. Text in strings should be left alone when indenting.The text was updated successfully, but these errors were encountered: