[ESS] Argument Suffix and Completion
@|ex@br@nh@m @end|ng |rom gm@||@com
Mon Mar 25 20:51:23 CET 2019
On Mon 25 Mar 2019 at 12:21, Joshua Krusell via ESS-help <ess-help using r-project.org> wrote:
> Hi All,
> I'm attempting to force all function argument completion in R to
> surround '=' with spaces. This works fine when company kicks in after
> the idle delay since ess-R-argument-suffix is set to ' = ' by default.
> However, if I try to trigger completion with <TAB>
> (ess-indent-or-complete) then the argument suffix spacing seems to
> follow R's `utils::rc.getOption("funarg.suffix")`.
Yes, I've noticed this as well when I was recently testing company-mode.
It's because ess-R-argument-suffix doesn't get honored outside of
ac/company. Perhaps it should be? Or perhaps we should leave R's
completion alone rather than appending to it. What do others think?
More information about the ESS-help