[fix] nvim: switch nix formatter to nixfmt-rfc-style
This commit is contained in:
parent
91284a73ca
commit
849959a19e
1 changed files with 2 additions and 1 deletions
|
@ -143,12 +143,13 @@ in
|
||||||
# FIXME: doesn't include formatters
|
# FIXME: doesn't include formatters
|
||||||
conform-nvim = {
|
conform-nvim = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
formatters.nixfmt.command = "${lib.getExe pkgs.nixfmt-rfc-style}";
|
||||||
formattersByFt = {
|
formattersByFt = {
|
||||||
"_" = [ "trim_whitespace" ];
|
"_" = [ "trim_whitespace" ];
|
||||||
c = [ "clang_format" ];
|
c = [ "clang_format" ];
|
||||||
cpp = [ "clang_format" ];
|
cpp = [ "clang_format" ];
|
||||||
lua = [ "stylua" ];
|
lua = [ "stylua" ];
|
||||||
nix = [ "alejandra" ];
|
nix = [ "nixfmt" ];
|
||||||
rust = [ "rustfmt" ];
|
rust = [ "rustfmt" ];
|
||||||
sh = [ "shfmt" ];
|
sh = [ "shfmt" ];
|
||||||
toml = [ "taplo" ];
|
toml = [ "taplo" ];
|
||||||
|
|
Loading…
Reference in a new issue