mirror of
https://github.com/nix-community/nixvim.git
synced 2025-07-29 15:15:13 +02:00
treewide: format with new treefmt
This commit is contained in:
parent
c61851aff7
commit
8529f1c86b
34 changed files with 688 additions and 702 deletions
|
@ -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})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue