mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-21 16:39:00 +02:00
plugins/lsp/rust-analyzer: Use the newly generated options
This commit is contained in:
parent
a4cf6c6ffe
commit
954876bef7
4 changed files with 49 additions and 148 deletions
|
@ -123,7 +123,7 @@ in
|
|||
standalone file support
|
||||
setting it to false may improve startup time
|
||||
'';
|
||||
}; # // (import ../../lsp/language-servers/rust-analyzer-config.nix lib pkgs);
|
||||
} // (import ../../lsp/language-servers/rust-analyzer-config.nix lib helpers);
|
||||
};
|
||||
config = mkIf cfg.enable {
|
||||
extraPlugins = with pkgs.vimPlugins; [
|
||||
|
|
|
@ -257,8 +257,7 @@ with lib;
|
|||
settings =
|
||||
helpers.mkNullOrStrLuaFnOr
|
||||
(types.submodule {
|
||||
# options = import ../../../lsp/language-servers/rust-analyzer-config.nix lib pkgs;
|
||||
options = { };
|
||||
options = import ../../../lsp/language-servers/rust-analyzer-config.nix lib helpers;
|
||||
freeformType = with types; attrsOf anything;
|
||||
})
|
||||
''
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue