treewide: format with new treefmt

This commit is contained in:
Gaetan Lepage 2025-07-25 16:27:30 +02:00 committed by Gaétan Lepage
parent c61851aff7
commit 8529f1c86b
34 changed files with 688 additions and 702 deletions

View file

@ -125,7 +125,8 @@ in
standalone file support
setting it to false may improve startup time
'';
} // import ../../lsp/language-servers/rust-analyzer-config.nix lib;
}
// import ../../lsp/language-servers/rust-analyzer-config.nix lib;
};
config = lib.mkIf cfg.enable {
extraPlugins = [
@ -174,7 +175,8 @@ in
inherit (cfg.server) standalone;
settings.rust-analyzer = lib.filterAttrs (n: v: n != "standalone") cfg.server;
};
} // cfg.extraOptions;
}
// cfg.extraOptions;
in
''
require('rust-tools').setup(${lib.nixvim.toLuaObject options})