Rather than 2 spaces for intent, read preference and set indent size.
Closed this issue · 1 comments
MilesMcBain commented
i.e indent_size <- .rs.readUiPref('num_spaces_for_tab')
Stolen from:https://github.com/sfr/RStudio-Addin-Snippets/blob/master/R/insert.pipe.R
MilesMcBain commented
Fixed with commit just now.