From 905be3d7a63c384485252a1f1cdf14287b79a159 Mon Sep 17 00:00:00 2001 From: mattkae Date: Mon, 7 Nov 2022 20:01:07 -0500 Subject: Halfway decent python mode --- lisp/python-custom.el | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 lisp/python-custom.el (limited to 'lisp/python-custom.el') diff --git a/lisp/python-custom.el b/lisp/python-custom.el new file mode 100644 index 0000000..ebb2b81 --- /dev/null +++ b/lisp/python-custom.el @@ -0,0 +1,12 @@ + +;;; Code: +(require 'python) +(use-package eglot + :ensure t + :config + (add-to-list 'eglot-server-programs '(python-mode . ("pylsp"))) + :hook + ((python-mode . eglot-ensure))) + +(provide 'python-custom) +;;; python-custom.el ends here -- cgit v1.2.1