From 7ffa0492d689b2948afa6f6c27954a0c14f72514 Mon Sep 17 00:00:00 2001 From: Evie Litherland-Smith Date: Mon, 24 Feb 2025 10:08:49 +0000 Subject: [PATCH] Add config for basedpyright lsp --- init.el | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/init.el b/init.el index aec2812..7f95e19 100644 --- a/init.el +++ b/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