fix(neovim): Python basedpyright LSP settings

This commit is contained in:
Pratik Tripathy
2025-10-20 17:04:18 +05:30
parent bc58e65115
commit f7123b0759

View File

@@ -0,0 +1,16 @@
return {
cmd = { "basedpyright" },
filetypes = { "python" },
settings = {
basedpyright = {
analysis = {
typeCheckingMode = "basic",
diagnosticMode = "openFilesOnly",
autoSearchPaths = true,
useLibraryCodeForTypes = true,
},
disableOrganizeImports = true, -- let ruff do it
},
python = { analysis = { ignore = { "*" } } }, -- let ruff do it
},
}