[fix] nvim: switch nix formatter to nixfmt-rfc-style
All checks were successful
/ check (push) Successful in 24s
/ build (docs) (push) Successful in 2s
/ build (nixosConfigurations.vm.config.system.build.toplevel) (push) Successful in 2s
/ build (nvim) (push) Successful in 13s

This commit is contained in:
Jalil David Salamé Messina 2024-07-04 00:05:39 +02:00
parent 91284a73ca
commit 849959a19e
Signed by: jalil
GPG key ID: F016B9E770737A0B

View file

@ -143,12 +143,13 @@ in
# FIXME: doesn't include formatters
conform-nvim = {
enable = true;
formatters.nixfmt.command = "${lib.getExe pkgs.nixfmt-rfc-style}";
formattersByFt = {
"_" = [ "trim_whitespace" ];
c = [ "clang_format" ];
cpp = [ "clang_format" ];
lua = [ "stylua" ];
nix = [ "alejandra" ];
nix = [ "nixfmt" ];
rust = [ "rustfmt" ];
sh = [ "shfmt" ];
toml = [ "taplo" ];