Fix: make company config more doom-ish
This commit is contained in:
parent
ae80c06067
commit
04d80fba9d
1 changed files with 8 additions and 7 deletions
|
@ -23,13 +23,14 @@
|
||||||
;; Ein uses request to store http cookies. Store them in the cache dir.
|
;; Ein uses request to store http cookies. Store them in the cache dir.
|
||||||
(setq request-storage-directory (concat doom-cache-dir "/request"))
|
(setq request-storage-directory (concat doom-cache-dir "/request"))
|
||||||
;; Auto complete with company
|
;; Auto complete with company
|
||||||
(if (featurep 'company)
|
(when (featurep! :completion company)
|
||||||
(setq ein:completion-backend 'ein:use-company-backend))
|
(setq ein:completion-backend 'ein:use-company-backend)
|
||||||
(set! :company-backend
|
(set! :company-backend
|
||||||
'(ein:notebook-multilang-mode
|
'(ein:notebook-multilang-mode
|
||||||
ein:notebook-python-mode
|
ein:notebook-python-mode
|
||||||
ein:notebook-plain-mode)
|
ein:notebook-plain-mode)
|
||||||
'ein:company-backend)
|
'ein:company-backend))
|
||||||
|
|
||||||
:config
|
:config
|
||||||
;; Manually load the autoloads of EIN. This takes time...
|
;; Manually load the autoloads of EIN. This takes time...
|
||||||
(load "ein-loaddefs.el" nil t t)
|
(load "ein-loaddefs.el" nil t t)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue