From 259d5cecbc431c120b91eca77844a23d3020e3a1 Mon Sep 17 00:00:00 2001 From: Mitch Tishmack Date: Fri, 27 Feb 2015 13:42:27 -0600 Subject: [PATCH] Use jedi and company-anaconda for python-mode. --- emacs/.emacs.d/emacs.org | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/emacs/.emacs.d/emacs.org b/emacs/.emacs.d/emacs.org index ccfe6e7..f106085 100644 --- a/emacs/.emacs.d/emacs.org +++ b/emacs/.emacs.d/emacs.org @@ -808,6 +808,30 @@ Comes in handily for those times you need it. (use-package helm-gtags :ensure t) #+END_SRC +** jedi + +#+BEGIN_SRC emacs-lisp + (use-package jedi + :ensure t + :init (add-hook 'python-mode-hook 'jedi:setup) + :config (customize-set-variable 'jedi:complete-on-dot t) + ) +#+END_SRC + +** company-anaconda + +#+BEGIN_SRC emacs-lisp + (use-package company-anaconda + :ensure t + :config (lambda () + ( + (add-to-list 'company-backends 'company-anaconda) + (add-hook 'python-mode-hook 'anaconda-mode) + ) + ) + ) +#+END_SRC + * mode related ** common defaults