[ESS] Indenting with magrittr and %>%

William Denton wtd at pobox.com
Thu Mar 22 19:44:00 CET 2018


I'm a big fan of %>% from magrittr and the tidyverse, but I can't get indenting 
working with it.  I have a long chain of pipes that I'd like to line up one by 
one on different lines, but they just end up flush left.

Can anyone point me to their configuration that makes %>% indents work nicely?

This is what I have now (it's a bit jumbled):

https://github.com/wdenton/.emacs.d/blob/master/setup/setup-ess.el

Thanks,

Bill

--
William Denton :: Toronto, Canada   ---   Listening to Art: https://listeningtoart.org/
https://www.miskatonic.org/         ---   GHG.EARTH: http://ghg.earth/
Caveat lector.                      ---   STAPLR: http://staplr.org/



More information about the ESS-help mailing list