diff --git a/.emacs.d/init.el b/.emacs.d/init.el index 5b4e491..b5c1aee 100644 --- a/.emacs.d/init.el +++ b/.emacs.d/init.el @@ -623,6 +623,11 @@ (let ((default-directory (lsp-workspace-root))) (call-interactively 'compile))) + (use-package lsp-pyright :demand :if (package-installed-p 'lsp-pyright) + :config + (when (executable-find "basedpyright") + (setq lsp-pyright-langserver-command "basedpyright"))) + (use-package lsp-ui :ensure :bind (:map lsp-ui-mode-map ([remap xref-find-definitions] . lsp-ui-peek-find-definitions)