summaryrefslogtreecommitdiff
path: root/lisp/programming/python.el
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/programming/python.el')
-rw-r--r--lisp/programming/python.el24
1 files changed, 24 insertions, 0 deletions
diff --git a/lisp/programming/python.el b/lisp/programming/python.el
new file mode 100644
index 0000000..a6c7fc4
--- /dev/null
+++ b/lisp/programming/python.el
@@ -0,0 +1,24 @@
+;;; python.el -*- lexical-binding: t; -*-
+;;;
+;;; Author: Jakob L. Kreuze <zerodaysfordays@sdf.org>
+;;; URL: https://git.sr.ht/~jakob/.emacs.d/
+;;;
+;;; Configuration of a development environment for the Python programming
+;;; language.
+;;;
+
+;; Set up company.
+
+(use-package company-jedi
+ :after company
+
+ :hook
+ (python-mode . company-mode)
+ (python-mode . jedi:setup)
+
+ :init
+ (setq jedi:complete-on-dot t)
+ (setq jedi:tooltip-method nil)
+
+ :config
+ (add-to-list 'company-backends 'company-jedi))

© 2015 - 2026 Jakob L. Kreuze