plugins/lsp/rust-analyzer: Use the newly generated options

This commit is contained in:
traxys 2024-07-04 19:20:02 +02:00
parent a4cf6c6ffe
commit 954876bef7
4 changed files with 49 additions and 148 deletions

View file

@ -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; [

View file

@ -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;
})
''