Add LSP config for basedpyright
This commit is contained in:
1 parent
40bfd1cdf6
commit
cd54ba5eb9
1 file changed
+7
@@ -823,6 +823,13 @@
|
||||
(setq major-mode-remap-alist
|
||||
'((python-mode . python-ts-mode)))
|
||||
|
||||
(use-package lsp-pyright
|
||||
:ensure t
|
||||
:custom (lsp-pyright-langserver-command "basedpyright")
|
||||
:hook (python-ts-mode . (lambda ()
|
||||
(require 'lsp-pyright)
|
||||
(lsp))))
|
||||
|
||||
(setq lsp-pylsp-plugins-flake8-ignore '("D100" "D101" "D102"))
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user