improve py config
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user