mirror of
https://github.com/vale981/emacs-ipython-notebook
synced 2025-03-06 09:31:39 -05:00
Try to make ein:company-backend loading more robust.
Try, but seem to still be mostly failing. Think this is more a personal setup issue than something in general but this change should, at the very least, not do any harm.
This commit is contained in:
parent
637deaaeb1
commit
3d3503289f
1 changed files with 3 additions and 1 deletions
|
@ -1611,8 +1611,10 @@ This hook is run regardless the actual major mode used."
|
|||
(auto-complete-mode +1))
|
||||
(ein:use-ac-jedi-backend (ein:jedi-complete-on-dot-install ein:notebook-mode-map)
|
||||
(auto-complete-mode +1))
|
||||
(ein:use-company-backend (company-mode +1))
|
||||
(ein:use-company-backend (add-to-list 'company-backends 'ein:company-backend)
|
||||
(company-mode +1))
|
||||
(ein:use-company-jedi-backend (warn "Support for jedi+company currently not implemented. Defaulting to just company-mode")
|
||||
(add-to-list 'company-backends 'ein:company-backend)
|
||||
(company-mode +1))
|
||||
|
||||
(t (warn "No autocompletion backend has been selected - see `ein:completion-backend'.")))
|
||||
|
|
Loading…
Add table
Reference in a new issue