From 05dfeb96ac11c0849435bfe7100bf5d1e3ea89e4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Anton=20=C5=BDdanov?= Date: Fri, 17 Jan 2025 12:21:04 +0200 Subject: [PATCH] fix(docker): disable docker-compose formatter and use default from yaml --- lua/astrocommunity/pack/docker/init.lua | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/lua/astrocommunity/pack/docker/init.lua b/lua/astrocommunity/pack/docker/init.lua index 469996aba..9d78ff939 100644 --- a/lua/astrocommunity/pack/docker/init.lua +++ b/lua/astrocommunity/pack/docker/init.lua @@ -1,9 +1,21 @@ return { + { import = "astrocommunity.pack.yaml" }, { "AstroNvim/astrocore", ---@type AstroCoreOpts opts = { filetypes = { filename = { ["docker-compose.yaml"] = "yaml.docker-compose" } } }, }, + { + "AstroNvim/astrolsp", + optional = true, + opts = { + formatting = { + disabled = { + "docker_compose_language_service", + }, + }, + }, + }, { "nvim-treesitter/nvim-treesitter", optional = true,