Skip to content

Commit

Permalink
feat(pack): allow conform to fallback to prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
mehalter committed Feb 8, 2024
1 parent 9804925 commit 59713d0
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion lua/astrocommunity/pack/ansible/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ return {
optional = true,
opts = {
formatters_by_ft = {
["yaml.ansible"] = { "prettierd" },
["yaml.ansible"] = { { "prettierd", "prettier" } },
},
},
},
Expand Down
3 changes: 2 additions & 1 deletion lua/astrocommunity/pack/markdown/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,8 @@ return {
optional = true,
opts = {
formatters_by_ft = {
markdown = { "prettierd" },
markdown = { { "prettierd", "prettier" } },
["markdown.mdx"] = { { "prettierd", "prettier" } },
},
},
},
Expand Down
2 changes: 1 addition & 1 deletion lua/astrocommunity/pack/yaml/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ return {
optional = true,
opts = {
formatters_by_ft = {
yaml = { "prettierd" },
yaml = { { "prettierd", "prettier" } },
},
},
},
Expand Down

0 comments on commit 59713d0

Please sign in to comment.