Closed jarodmeng closed 9 months ago
Please, see this: https://github.com/jalvesaq/R-Vim-runtime/issues/1
Thanks for the link. In this case, I might write a simple customized indentexpr
to replace the one shipped with nvim-r.
Could you share customized indentexpr
here? Others might benefit from it.
When I type a line break after an open curly brace (
{
), the auto indent of the new line is shiftwidth from the start of the line.When I type a line break after an open parenthesis (
(
), the auto indent of the new line is at the same position as the parenthesis.I would like the output to look like this instead.
Is there a way to set options to achieve this?