summaryrefslogtreecommitdiff
path: root/lisp/python-custom.el
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/python-custom.el')
-rw-r--r--lisp/python-custom.el12
1 files changed, 12 insertions, 0 deletions
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