This commit is contained in:
2025-02-21 03:02:01 -08:00
parent 9bae49fa30
commit e216dc057c
8 changed files with 147 additions and 24 deletions

View File

@@ -7,7 +7,7 @@ return {
"bashls",
"jedi_language_server",
"jsonls",
"yamlls",
-- "yamlls",
"vimls",
"dotls",
"dockerls",
@@ -18,6 +18,7 @@ return {
"ts_ls",
"angularls",
"ansiblels",
"docker_compose_language_service",
}
for _, lsp in ipairs(servers) do
@@ -65,6 +66,13 @@ return {
Lua = {},
},
})
elseif lsp == "docker_compose_language_service" then
lspconfig[lsp].setup({
filetypes = { "dockerfile", "docker-compose", "yaml", "yml" },
on_attach = function()
vim.notify("Docker Compose LSP attached", nil, { title = "LSP" })
end,
})
else
lspconfig[lsp].setup({
on_attach = function()