improve py config

This commit is contained in:
rvolovoy
2026-10-29 14:17:25 +01:00
parent a0dbffdfe6
commit 8348794af9
+23 -7
View File
@@ -54,15 +54,17 @@ local managed_tools = {
"prettier", "prettier",
} }
local servers = { local servers = {
astro = {}, -- General
bashls = {}, bashls = {},
basedpyright = {},
clangd = {},
gopls = {},
jsonls = {},
marksman = {}, marksman = {},
taplo = {},
yamlls = {}, yamlls = {},
jsonls = {},
taplo = {},
-- C
clangd = {},
-- Go
gopls = {},
-- Lua
lua_ls = { lua_ls = {
settings = { settings = {
Lua = { Lua = {
@@ -79,11 +81,14 @@ local servers = {
}, },
}, },
}, },
-- Web dev
ts_ls = {}, ts_ls = {},
tailwindcss = {}, tailwindcss = {},
eslint = {}, eslint = {},
astro = {},
-- Typst
tinymist = {}, tinymist = {},
ruff = {}, -- Dart
dartls = { dartls = {
cmd = function(dispatchers, config) cmd = function(dispatchers, config)
return vim.lsp.rpc.start({ return vim.lsp.rpc.start({
@@ -96,6 +101,17 @@ local servers = {
}) })
end, end,
}, },
-- Python
basedpyright = {
settings = {
basedpyright = {
analysis = {
reportUnannotatedClassAttribute = "none",
},
},
}
},
ruff = {},
} }
for server_name, config in pairs(servers) do for server_name, config in pairs(servers) do