python-mode: add jedi completion
This commit is contained in:
parent
223e9843b6
commit
f66f741804
1 changed files with 9 additions and 0 deletions
9
modules/env-python-mode.el
Normal file
9
modules/env-python-mode.el
Normal file
|
@ -0,0 +1,9 @@
|
||||||
|
|
||||||
|
(require-package 'jedi)
|
||||||
|
|
||||||
|
(add-hook 'python-mode-hook 'jedi:setup)
|
||||||
|
(if (not (file-directory-p "~/.emacs.d/.python-environments/default/"))
|
||||||
|
(jedi:install-server))
|
||||||
|
|
||||||
|
;;
|
||||||
|
(provide 'env-python-mode)
|
Loading…
Add table
Add a link
Reference in a new issue