Added basedpython support.
This commit is contained in:
@@ -1539,6 +1539,14 @@ the package.
|
|||||||
|
|
||||||
;; optionally
|
;; optionally
|
||||||
(use-package lsp-ui :commands lsp-ui-mode)
|
(use-package lsp-ui :commands lsp-ui-mode)
|
||||||
|
|
||||||
|
;; based-pyright
|
||||||
|
(use-package lsp-pyright
|
||||||
|
:ensure t
|
||||||
|
:custom (lsp-pyright-langserver-command "basedpyright")
|
||||||
|
:hook (python-mode . (lambda ()
|
||||||
|
(require 'lsp-pyright)
|
||||||
|
(lsp-deferred))))
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
* Tree Sitter
|
* Tree Sitter
|
||||||
|
|||||||
@@ -32,5 +32,13 @@ the package.
|
|||||||
|
|
||||||
;; optionally
|
;; optionally
|
||||||
(use-package lsp-ui :commands lsp-ui-mode)
|
(use-package lsp-ui :commands lsp-ui-mode)
|
||||||
|
|
||||||
|
;; based-pyright
|
||||||
|
(use-package lsp-pyright
|
||||||
|
:ensure t
|
||||||
|
:custom (lsp-pyright-langserver-command "basedpyright")
|
||||||
|
:hook (python-mode . (lambda ()
|
||||||
|
(require 'lsp-pyright)
|
||||||
|
(lsp-deferred))))
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user