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",
}
local servers = {
astro = {},
-- General
bashls = {},
basedpyright = {},
clangd = {},
gopls = {},
jsonls = {},
marksman = {},
taplo = {},
yamlls = {},
jsonls = {},
taplo = {},
-- C
clangd = {},
-- Go
gopls = {},
-- Lua
lua_ls = {
settings = {
Lua = {
@@ -79,11 +81,14 @@ local servers = {
},
},
},
-- Web dev
ts_ls = {},
tailwindcss = {},
eslint = {},
astro = {},
-- Typst
tinymist = {},
ruff = {},
-- Dart
dartls = {
cmd = function(dispatchers, config)
return vim.lsp.rpc.start({
@@ -96,6 +101,17 @@ local servers = {
})
end,
},
-- Python
basedpyright = {
settings = {
basedpyright = {
analysis = {
reportUnannotatedClassAttribute = "none",
},
},
}
},
ruff = {},
}
for server_name, config in pairs(servers) do