dotfiles/.config/nvim/lua/plugins/lsp/settings/basedpyright.lua

19 lines
457 B
Lua

return {
settings = {
basedpyright = {
analysis = {
autoSearchPaths = true,
useLibraryCodeForTypes = true,
autoImportCompletions = true,
diagnosticsMode = "openFilesOnly", -- workspace, openFilesOnly
typeCheckingMode = "standard", -- off, basic, standard, strict, all
diagnosticSeverityOverrides = {
-- reportAny = true
reportOptionalIterable = "warning",
reportArgumentType = "warning",
},
},
},
},
}