lang/ess: set company backends for ess-r-mode
This commit is contained in:
parent
f4ec42ae5c
commit
d23d18d7a4
1 changed files with 3 additions and 0 deletions
|
@ -32,6 +32,9 @@
|
||||||
(set-eval-handler! 'ess-help-mode #'ess-eval-region-and-go)
|
(set-eval-handler! 'ess-help-mode #'ess-eval-region-and-go)
|
||||||
(set-eval-handler! 'ess-r-help-mode #'ess-eval-region-and-go)
|
(set-eval-handler! 'ess-r-help-mode #'ess-eval-region-and-go)
|
||||||
|
|
||||||
|
(set-company-backend! 'ess-r-mode
|
||||||
|
'(company-R-args company-R-objects company-dabbrev-code :separate))
|
||||||
|
|
||||||
(setq-hook! 'ess-r-mode-hook
|
(setq-hook! 'ess-r-mode-hook
|
||||||
;; HACK Fix #2233: Doom continues comments on RET, but ess-r-mode doesn't
|
;; HACK Fix #2233: Doom continues comments on RET, but ess-r-mode doesn't
|
||||||
;; have a sane `comment-line-break-function', so...
|
;; have a sane `comment-line-break-function', so...
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue