[ESS] Indenting with magrittr and %>%
Marie-Helene Burle
m@b2 @end|ng |rom @|u@c@
Thu Mar 22 20:05:17 CET 2018
Hi William,
I use the package aggressive-indent (https://github.com/Malabarba/aggressive-indent-mode) and it works very well in ESS (as in most other modes).
I hope this helps.
Best,
Marie
--
Marie-Helene Burle
PhD candidate
Centre for Wildlife Ecology
Simon Fraser University
Tel: (+1) 778 782-5618
Fax: (+1) 778 782-3496
http://www.sfu.ca/content/sfu/biology/people/profiles/msb2.html
https://github.com/prosoitos
William Denton <wtd using pobox.com> writes:
> 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/
>
> ______________________________________________
> ESS-help using r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/ess-help
More information about the ESS-help
mailing list