summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitignore1
-rw-r--r--jakob.org10
2 files changed, 11 insertions, 0 deletions
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

© 2015 - 2026 Jakob L. Kreuze