mirror of
https://github.com/nix-community/nixvim.git
synced 2025-08-14 22:52:29 +02:00
treewide: format with new nixfmt
This commit is contained in:
parent
d63fd77511
commit
dd73afe9c6
34 changed files with 665 additions and 679 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