Add config for basedpyright lsp
This commit is contained in:
parent
41f18b03eb
commit
7ffa0492d6
9
init.el
9
init.el
|
@ -1066,7 +1066,14 @@
|
|||
:config
|
||||
(add-to-list 'eglot-server-programs '(scad-mode "openscad-lsp"))
|
||||
(setq-default eglot-workspace-configuration
|
||||
'( :pylsp ( :plugins
|
||||
'( :basedpyright ( :typeCheckingMode "recommended"
|
||||
:disableOrganizeImports t)
|
||||
:basedpyright.analysis ( :diagnosticMode "workspace"
|
||||
:inlayHints ( :variableTypes t
|
||||
:callArgumentNames t
|
||||
:functionReturnTypes t
|
||||
:genericTypes t))
|
||||
:pylsp ( :plugins
|
||||
( :autopep8 (:enabled nil)
|
||||
:flake8 (:enabled nil)
|
||||
:jedi_completion ( :enabled t
|
||||
|
|
Loading…
Reference in a new issue