jalvesaq / Nvim-R

Vim plugin to work with R
GNU General Public License v2.0
968 stars 125 forks source link

`ggplot2` + sign and line indentation #760

Closed PMassicotte closed 1 year ago

PMassicotte commented 1 year ago

I am having an issue where new lines added after + are not indented properly (see attached GIF).

Peek 2023-10-06 07-26

I have searched existing issue (ex.: https://github.com/jalvesaq/Nvim-R/issues/744) and also looked at

:help ft-r-indent

I am not sure what I am missing, but I have not touched to r_indent_op_pattern.

Any help appreciated and thank you for the plugin.

jalvesaq commented 1 year ago

I can't replicate the issue. Can you replicate it without any plugin at all? Are you using tree-sitter indentation?

Please, note that indentation issues should be reported to https://github.com/jalvesaq/R-Vim-runtime

PMassicotte commented 1 year ago

Ok ty, I will try to replicate it. However, the pipe indentation works just fine. We can close it here and report to the other repo.