1
0
mirror of https://github.com/dcarrillo/dotfiles.git synced 2024-11-01 12:01:12 +00:00
dotfiles/.config/nvim/lua/plugins/lsp/settings/basedpyright.lua

22 lines
598 B
Lua

return {
settings = {
basedpyright = {
analysis = {
autoSearchPaths = true,
useLibraryCodeForTypes = true,
autoImportCompletions = true,
diagnosticsMode = "openFilesOnly", -- workspace, openFilesOnly
diagnosticSeverityOverrides = {
typeCheckingMode = "standard", -- off, basic, standard, strict, all
reportAny = false,
reportDeprecated = "information",
reportMissingTypeStubs = "information",
reportUnknownMemberType = "information",
reportUnknownVariableType = "information",
},
},
},
},
pythonPath = vim.fn.exepath("python3"),
}