Files
AstroVim_Config/lua/plugins/configs/lsp/config/basedpyright.lua
2025-01-01 21:24:31 +07:00

35 lines
1.1 KiB
Lua

-- return {
-- before_init = function(_, c)
-- if not c.settings then c.settings = {} end
-- if not c.settings.python then c.settings.python = {} end
-- c.settings.python.pythonPath = vim.fn.exepath "python"
-- end,
-- settings = {
-- basedpyright = {
-- analysis = {
-- -- diagnosticMode = "workspace",
-- diagnosticMode = "off",
-- typeCheckingMode = "basic",
-- autoImportCompletions = true,
-- autoSearchPath = true,
-- inlayHints = {
-- variableTypes = true,
-- functionReturnTypes = true,
-- callArgumentNames = true,
-- pytestParameters = true,
-- },
-- useLibraryCodeForTypes = true,
-- diagnosticSeverityOverrides = {
-- reportUnusedImport = "information",
-- reportUnusedFunction = "information",
-- reportUnusedVariable = "information",
-- reportGeneralTypeIssues = "none",
-- reportOptionalMemberAccess = "none",
-- reportOptionalSubscript = "none",
-- reportPrivateImportUsage = "none",
-- },
-- },
-- },
-- },
-- }