Skip to content

Commit

Permalink
fix: install pyright via npm
Browse files Browse the repository at this point in the history
  • Loading branch information
seagle0128 committed Sep 15, 2024
1 parent 0c0d72a commit 4aadc47
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lsp-pyright.el
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,9 @@ Current LSP WORKSPACE should be passed in."
("python.venvPath" (lambda () (or lsp-pyright-venv-path "")))))

(lsp-dependency 'pyright
(backquote (:system ,(concat lsp-pyright-langserver-command "-langserver"))))
`(:system ,(concat lsp-pyright-langserver-command "-langserver"))
`(:npm :package ,lsp-pyright-langserver-command
:path ,(concat lsp-pyright-langserver-command "-langserver")))

(lsp-register-client
(make-lsp-client
Expand Down

0 comments on commit 4aadc47

Please sign in to comment.