Added basedpython support.
This commit is contained in:
parent
f9209ff9a5
commit
11be880883
2 changed files with 16 additions and 0 deletions
|
|
@ -1539,6 +1539,14 @@ the package.
|
|||
|
||||
;; optionally
|
||||
(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
|
||||
|
||||
* Tree Sitter
|
||||
|
|
|
|||
|
|
@ -32,5 +32,13 @@ the package.
|
|||
|
||||
;; optionally
|
||||
(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
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue