forked from foxora/nix
nixfmt -> alejandra
This commit is contained in:
parent
f925b42669
commit
8b1a6aca39
2 changed files with 2 additions and 2 deletions
|
|
@ -12,7 +12,7 @@ return {
|
||||||
conform.setup({
|
conform.setup({
|
||||||
formatters_by_ft = {
|
formatters_by_ft = {
|
||||||
lua = nixCats("lang.lua") and { "stylua" } or nil,
|
lua = nixCats("lang.lua") and { "stylua" } or nil,
|
||||||
nix = nixCats("lang.nix") and { "nixfmt" } or nil,
|
nix = nixCats("lang.nix") and { "alejandra" } or nil,
|
||||||
rust = nixCats("lang.rust") and { "rustfmt", lsp_format = "fallback" } or nil,
|
rust = nixCats("lang.rust") and { "rustfmt", lsp_format = "fallback" } or nil,
|
||||||
haskell = nixCats("lang.haskell") and { "ormolu" } or nil,
|
haskell = nixCats("lang.haskell") and { "ormolu" } or nil,
|
||||||
proto = nixCats("lang.protobuf") and { "buf" } or nil,
|
proto = nixCats("lang.protobuf") and { "buf" } or nil,
|
||||||
|
|
|
||||||
|
|
@ -65,7 +65,7 @@ in
|
||||||
nix = [
|
nix = [
|
||||||
nil
|
nil
|
||||||
nix-doc # TODO: i forgot what this is for
|
nix-doc # TODO: i forgot what this is for
|
||||||
nixfmt
|
alejandra
|
||||||
];
|
];
|
||||||
rust = [
|
rust = [
|
||||||
cargo
|
cargo
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue