pyright changes

This commit is contained in:
ZaneFerns360 2024-07-19 18:52:34 +05:30
parent 42e790dc76
commit 07169cf1fb
1 changed files with 17 additions and 0 deletions

View File

@ -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 -- Ensure the servers and tools above are installed