From 8475f9089309d20de6bc6457ea1025eec39ba723 Mon Sep 17 00:00:00 2001 From: Adam Goldsmith Date: Mon, 11 May 2015 23:22:02 -0400 Subject: [PATCH] add company-jedi to my-package and add init file --- .emacs | 3 ++- .emacs.d/el-get-user/init-files/init-company-jedi.el | 4 ++++ 2 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 .emacs.d/el-get-user/init-files/init-company-jedi.el diff --git a/.emacs b/.emacs index e6c65c6..55f1efb 100644 --- a/.emacs +++ b/.emacs @@ -65,7 +65,8 @@ todotxt-mode php-mode scad-mode - smarttabs)) + smarttabs + company-jedi)) ;;auctex)) (el-get-cleanup my-packages) (el-get 'sync my-packages) diff --git a/.emacs.d/el-get-user/init-files/init-company-jedi.el b/.emacs.d/el-get-user/init-files/init-company-jedi.el new file mode 100644 index 0000000..d22c546 --- /dev/null +++ b/.emacs.d/el-get-user/init-files/init-company-jedi.el @@ -0,0 +1,4 @@ +(defun my/python-mode-hook () + (add-to-list 'company-backends 'company-jedi)) + +(add-hook 'python-mode-hook 'my/python-mode-hook)