From 6c7f0b8ae2de30a808901b16b0d462fe833ea1b4 Mon Sep 17 00:00:00 2001 From: Jakob L. Kreuze Date: Mon, 1 Jun 2020 16:53:50 -0400 Subject: Break config into files. --- lisp/programming/python.el | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 lisp/programming/python.el (limited to 'lisp/programming/python.el') 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 +;;; 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)) -- cgit v1.3