Skip to content

Commit

Permalink
fix(docker): use default formatter for yaml and turn off from docker_…
Browse files Browse the repository at this point in the history
…compose_language_service (#1321)

fix(docker): disable docker-compose formatter and use default from yaml
  • Loading branch information
azdanov authored Jan 17, 2025
1 parent 532a545 commit bac0a03
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions lua/astrocommunity/pack/docker/init.lua
Original file line number Diff line number Diff line change
@@ -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,
Expand Down

0 comments on commit bac0a03

Please sign in to comment.