From 5e60af908f135325f30d0136ed78a042b95dddc9 Mon Sep 17 00:00:00 2001 From: Florian Teich Date: Fri, 21 Nov 2025 22:31:56 +0100 Subject: [PATCH] use pyright --- init.lua | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/init.lua b/init.lua index 22f70d6a..8ee40f78 100644 --- a/init.lua +++ b/init.lua @@ -673,7 +673,17 @@ require('lazy').setup({ local servers = { -- clangd = {}, -- gopls = {}, - -- pyright = {}, + pyright = { + settings = { + python = { + analysis = { + autoSearchPaths = true, + diagnosticMode = 'workspace', + useLibraryCodeForTypes = true, + }, + }, + }, + }, -- rust_analyzer = {}, -- ... etc. See `:help lspconfig-all` for a list of all the pre-configured LSPs --