aboutsummaryrefslogtreecommitdiff
path: root/dot.emacs.d/init.el
diff options
context:
space:
mode:
Diffstat (limited to 'dot.emacs.d/init.el')
-rw-r--r--dot.emacs.d/init.el6
1 files changed, 5 insertions, 1 deletions
diff --git a/dot.emacs.d/init.el b/dot.emacs.d/init.el
index afb2839..5671701 100644
--- a/dot.emacs.d/init.el
+++ b/dot.emacs.d/init.el
@@ -113,7 +113,11 @@
:hook ((python-mode python-ts-mode) . lsp))
(use-package pet
:init
- (add-hook 'python-base-mode-hook 'pet-mode -10))
+ (add-hook 'python-base-mode-hook 'pet-mode -10)
+ (add-hook
+ 'python-base-mode-hook
+ (defun qsx-python-pet-hook ()
+ (setq-local lsp-pylsp-server-command (list (pet-executable-find "pylsp"))))))
(use-package highlight-indentation
:hook python-base-mode)