diff options
| author | Ravi R Kiran <aine.marina@gmail.com> | 2015-03-18 15:04:32 (GMT) |
|---|---|---|
| committer | Ravi R Kiran <aine.marina@gmail.com> | 2015-03-18 15:04:32 (GMT) |
| commit | 78820acd210831226e2082396c2871f0782b0901 (patch) | |
| tree | a65ced2d4036ebec968a3967469f99f1e5f45a1f /lisp/ravi-init-python.el | |
| parent | d500f901002d147c621cd98e0f8371c0e8950274 (diff) | |
| download | dotemacs-78820acd210831226e2082396c2871f0782b0901.zip dotemacs-78820acd210831226e2082396c2871f0782b0901.tar.gz dotemacs-78820acd210831226e2082396c2871f0782b0901.tar.bz2 | |
Use jedi with company for completion
Diffstat (limited to 'lisp/ravi-init-python.el')
| -rw-r--r-- | lisp/ravi-init-python.el | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/lisp/ravi-init-python.el b/lisp/ravi-init-python.el index de89b82..c94e016 100644 --- a/lisp/ravi-init-python.el +++ b/lisp/ravi-init-python.el @@ -127,7 +127,7 @@ ;; support, but the python-side support cannot be installed as a package ;; from MELPA. Fedora does not provide python-epc as an RPM either. We ;; work around it by adding sexpdata, jedi and python-epc as git submodules. - (use-package jedi + (use-package jedi-core :config (progn (defun ravi/jedi-setup () @@ -144,14 +144,19 @@ (jedi:setup))) (defun ravi/python-jedi-hook-installer () - (setq jedi:complete-on-dot t) + ;; (setq jedi:complete-on-dot t) ; needs auto-complete (add-hook 'hack-local-variables-hook 'ravi/jedi-setup nil t)) (add-hook 'python-mode-hook 'ravi/python-jedi-hook-installer) ) :ensure t - :disabled t ; casualty of removing auto-complete ) + (use-package company-jedi + :config + (progn + (add-to-list 'company-backends 'company-jedi)) + :ensure t) + (use-package sphinx-doc :config (progn |
