Skip to content

Commit

Permalink
feat(nix): add nvim-lint and conform
Browse files Browse the repository at this point in the history
  • Loading branch information
mehalter committed Feb 8, 2024
1 parent 02db5f8 commit 29b60a3
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions lua/astrocommunity/pack/nix/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -29,4 +29,22 @@ return {
end
end,
},
{
"stevearc/conform.nvim",
optional = true,
opts = {
formatters_by_ft = {
nix = { "alejandra" },
},
},
},
{
"mfussenegger/nvim-lint",
optional = true,
opts = {
linters_by_ft = {
nix = { "statix" },
},
},
},
}

0 comments on commit 29b60a3

Please sign in to comment.