vanadium: use nixfmt

This commit is contained in:
Primrose 2025-11-08 10:12:42 +08:00
parent e218086537
commit ec704b5272
Signed by: primrose
GPG key ID: 4E887A4CA9714ADA
2 changed files with 5 additions and 2 deletions

View file

@ -21,7 +21,7 @@ local servers = {
tinymist = {},
nil_ls = {
settings = {
["nil"] = { formatting = { command = { "alejandra" } } },
["nil"] = { formatting = { command = { "nixfmt" } } },
},
},
}

View file

@ -69,7 +69,10 @@
pkgs.just
# nix tools
pkgs.alejandra
# # Alejandra handles inline comments poorly
# # https://github.com/kamadorueda/alejandra/issues/429
# pkgs.alejandra
pkgs.nixfmt-rfc-style
pkgs.nurl
pkgs.dix
pkgs.niv