conform: use nixfmt for nix files

This commit is contained in:
Tigor Hutasuhut 2024-10-28 08:51:12 +07:00
parent 22aeb7ea5e
commit 6c3a32631a
2 changed files with 8 additions and 1 deletions

View file

@ -2,7 +2,6 @@ return {
"conform.nvim", "conform.nvim",
opts = { opts = {
formatters_by_ft = { formatters_by_ft = {
nix = { "nixpkgs-fmt" },
templ = { "templ" }, templ = { "templ" },
typst = { "typstyle" }, typst = { "typstyle" },
}, },

View file

@ -10,6 +10,14 @@ return {
}, },
}, },
}, },
{
"conform.nvim",
opts = {
formatters_by_ft = {
nix = { "nixfmt" },
},
},
},
{ {
"nvim-lspconfig", "nvim-lspconfig",
opts = { opts = {