From 4d47ed5af66a322e807f402d82d69b45a02ee4fc Mon Sep 17 00:00:00 2001 From: Jakob L. Kreuze Date: Mon, 11 Mar 2019 17:54:00 -0400 Subject: Add configuration for Python --- .gitignore | 1 + jakob.org | 10 ++++++++++ 2 files changed, 11 insertions(+) diff --git a/.gitignore b/.gitignore index f05d308..76d7b89 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ +.python-environments/ irony/ straight/ transient/ diff --git a/jakob.org b/jakob.org index cfb55e2..10aba55 100644 --- a/jakob.org +++ b/jakob.org @@ -1713,6 +1713,7 @@ Configuration for using the [[https://wiki.call-cc.org/emacs#builtin-scheme-supp Redefinition of =xscheme-default-command-line= so that '-emacs' is not passed to =csi=, since it doesn't recognize the argument and complains about it. +** Python #+BEGIN_SRC elisp :config @@ -1724,6 +1725,15 @@ Redefinition of =xscheme-default-command-line= so that '-emacs' is not passed to (if scheme-band-name (concat " -band " scheme-band-name) "")))) +(use-package company-jedi + :hook + (python-mode . company-mode) + (python-mode . jedi:setup) + + :init + (setq jedi:complete-on-dot t) + (setq jedi:tooltip-show nil) + (add-to-list 'company-backends 'company-jedi)) #+END_SRC ** Javascript -- cgit v1.3