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

22 lines
598 B
Lua
Raw Normal View History

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