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"),
}