Closed pgforbes closed 9 years ago
I am sorry, but this is a duplicate of https://github.com/jcfaria/Vim-R-plugin/issues/77. The problem is the multiline string, not the =
inside it. Example:
paste("A
B", 2)
f()
A workaround is to use the special character \n
instead of a real newline:
paste("A\n=", 2)
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.
Thank you for your excellent work with Vim-R. I noticed an indenting bug recently when I was composing SQL queries. When a string is split over multiple lines, the indenter treats operators inside the string as if they were functional. Here's a minimal working example: notice that f() is indented too far in the current behavior.
Current behavior:
Correct behavior:
Thank you again for your work!