Skip to content

Commit

Permalink
feat(html-css): add conform support
Browse files Browse the repository at this point in the history
  • Loading branch information
mehalter committed Feb 8, 2024
1 parent 0bf4e33 commit 78608fb
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions lua/astrocommunity/pack/html-css/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,23 @@ return {
require("astrocore").list_insert_unique(opts.ensure_installed, "html", "cssls", "emmet_ls")
end,
},
{
"jay-babu/mason-null-ls.nvim",
optional = true,
opts = function(_, opts)
opts.ensure_installed = require("astrocore").list_insert_unique(opts.ensure_installed, "prettierd")
end,
},
{
"stevearc/conform.nvim",
optional = true,
opts = {
formatters_by_ft = {
html = { { "prettierd", "prettier" } },
css = { { "prettierd", "prettier" } },
scss = { { "prettierd", "prettier" } },
less = { { "prettierd", "prettier" } },
},
},
},
}

0 comments on commit 78608fb

Please sign in to comment.