mirror of
https://github.com/doomemacs/doomemacs.git
synced 2025-12-06 10:31:23 -08:00
fix(python): invalid command for basedpyright
`lsp-pyright-langserver-command` does not recognize a full path, only "pyright" or "basedpyright". Fix: #8160 Close: #8161
This commit is contained in:
parent
7533707e00
commit
a211332796
1 changed files with 2 additions and 2 deletions
|
|
@ -354,5 +354,5 @@
|
|||
:when (modulep! :tools lsp -eglot)
|
||||
:defer t
|
||||
:init
|
||||
(when-let ((exe (executable-find "basedpyright")))
|
||||
(setq lsp-pyright-langserver-command exe)))
|
||||
(when (executable-find "basedpyright")
|
||||
(setq lsp-pyright-langserver-command "basedpyright")))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue