Add company-dabbrev-code to ESS backends

This commit is contained in:
tecosaur 2020-01-10 01:57:31 +08:00
parent 414a3db9ad
commit b8a6e3b9b3
1 changed files with 5 additions and 0 deletions

View File

@ -248,6 +248,11 @@ let's use that.
#+END_SRC
Oh, and by the way, if ~company-ispell-dictionary~ is ~nil~, then
~ispell-complete-word-dict~ is used instead.
*** ESS
~company-dabbrev-code~ is nice. Let's have it.
#+BEGIN_SRC emacs-lisp
(set-company-backend! 'ess-r-mode '(company-R-args company-R-objects company-dabbrev-code :separate))
#+END_SRC
** [[https://github.com/zachcurry/emacs-anywhere][Emacs Anywhere]] configuration
It's nice to recognise GitHub (so we can use ~GFM~)
#+BEGIN_SRC emacs-lisp