From 07169cf1fb82064c9498038d3ab56d3c64f7fa07 Mon Sep 17 00:00:00 2001 From: ZaneFerns360 Date: Fri, 19 Jul 2024 18:52:34 +0530 Subject: [PATCH] pyright changes --- init.lua | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/init.lua b/init.lua index b1d68435..3b89602f 100644 --- a/init.lua +++ b/init.lua @@ -638,6 +638,23 @@ require('lazy').setup({ }, }, }, + pyright = { + settings = { + pyright = { + disableLanguageServices = false, + disableOrganizeImports = false, + }, + python = { + analysis = { + autoImportCompletions = true, + autoSearchPaths = true, + diagnosticMode = 'workspace', -- openFilesOnly, workspace + typeCheckingMode = 'basic', -- off, basic, strict + useLibraryCodeForTypes = true, + }, + }, + }, + }, } -- Ensure the servers and tools above are installed