mirror of
https://git.sr.ht/~magic_rb/dotfiles
synced 2024-11-25 17:46:14 +01:00
Switch python lsp to pyright
This commit is contained in:
parent
2cbf3f591d
commit
be5503b654
15
dot_emacs
15
dot_emacs
|
@ -140,18 +140,11 @@ There are two things you can do about this warning:
|
||||||
(flycheck-add-mode 'javascript-eslint 'web-mode)
|
(flycheck-add-mode 'javascript-eslint 'web-mode)
|
||||||
)
|
)
|
||||||
|
|
||||||
;; (use-package lsp-pyright
|
(use-package lsp-pyright
|
||||||
;; :ensure t
|
|
||||||
;; :hook (python-mode . (lambda ()
|
|
||||||
;; (require 'lsp-pyright)
|
|
||||||
;; (lsp)))) ; or lsp-deferred
|
|
||||||
|
|
||||||
(use-package lsp-jedi
|
|
||||||
:ensure t
|
:ensure t
|
||||||
:config
|
:hook (python-mode . (lambda ()
|
||||||
(with-eval-after-load "lsp-mode"
|
(require 'lsp-pyright)
|
||||||
(add-to-list 'lsp-disabled-clients 'pyls)
|
(lsp)))) ; or lsp-deferred
|
||||||
(add-to-list 'lsp-enabled-clients 'jedi)))
|
|
||||||
|
|
||||||
(use-package scala-mode
|
(use-package scala-mode
|
||||||
:ensure t
|
:ensure t
|
||||||
|
|
Loading…
Reference in a new issue