Is it enough to check if there's a newline after `opening` in `needs_indention()`? ```r needs_indention <- function(pd, token = "'('") { opening <- which(pd$token %in% token) length(opening) > 0 && pd$newlines[opening + 1L] } ``` Goal should be to avoid using `line1` and `line2` in this computation, see #75. Think about removing `child_indents()` and perhaps `unindent_child()`.
Activity