ENH remove custom ess company modes (they are now builtin)
This commit is contained in:
parent
105065cc14
commit
d5685da983
|
@ -838,10 +838,6 @@ Flycheck syntax checkers
|
||||||
- r-lintr (install from CRAN)
|
- r-lintr (install from CRAN)
|
||||||
#+begin_src emacs-lisp
|
#+begin_src emacs-lisp
|
||||||
(nd/when-bin "R"
|
(nd/when-bin "R"
|
||||||
(defun nd/init-ess-company ()
|
|
||||||
"Set the company backends for ess modes."
|
|
||||||
(setq-local company-backends '(company-R-objects company-R-args)))
|
|
||||||
|
|
||||||
(use-package ess
|
(use-package ess
|
||||||
:straight t
|
:straight t
|
||||||
:init
|
:init
|
||||||
|
@ -850,12 +846,10 @@ Flycheck syntax checkers
|
||||||
((ess-mode . flycheck-mode)
|
((ess-mode . flycheck-mode)
|
||||||
(ess-mode . company-mode)
|
(ess-mode . company-mode)
|
||||||
(ess-mode . origami-mode)
|
(ess-mode . origami-mode)
|
||||||
(ess-mode . nd/init-ess-company)
|
|
||||||
(ess-mode . prettify-symbols-mode)
|
(ess-mode . prettify-symbols-mode)
|
||||||
(ess-mode . fci-mode)
|
(ess-mode . fci-mode)
|
||||||
|
|
||||||
(inferior-ess-mode . company-mode)
|
(inferior-ess-mode . company-mode)
|
||||||
(inferior-ess-mode . nd/init-ess-company)
|
|
||||||
(inferior-ess-mode . prettify-symbols-mode))
|
(inferior-ess-mode . prettify-symbols-mode))
|
||||||
:config
|
:config
|
||||||
(setq inferior-R-program "R"
|
(setq inferior-R-program "R"
|
||||||
|
|
Loading…
Reference in New Issue