Skip to content

Commit 9f0b98c

Browse files
don't indent closing round braces in function declarations.
1 parent 7068fab commit 9f0b98c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

R/reindent.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ update_indention_ref_fun_call <- function(pd_nested) {
5858
#' @importFrom rlang seq2
5959
update_indention_ref_fun_dec <- function(pd_nested) {
6060
if (pd_nested$token[1] == "FUNCTION") {
61-
seq <- seq2(3, nrow(pd_nested) - 1)
61+
seq <- seq2(3, nrow(pd_nested) - 2)
6262
pd_nested$indention_ref_pos_id[seq] <- pd_nested$pos_id[2]
6363
}
6464
pd_nested

0 commit comments

Comments
 (0)