Various fixes and change formatter to nixfmt-rfc-style #19

Merged
jalil merged 3 commits from various-fixes into main 2024-07-04 23:07:29 +02:00
Showing only changes of commit 849959a19e - Show all commits

View file

@ -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" ];