summaryrefslogtreecommitdiff
path: root/lisp/programming/python.el
blob: a6c7fc49de661b5fbcdc56142ab7410e06492ffd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
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