pugins/lsp/rust-analyzer: temporarily remove rust-analyzer settings options declarations

This commit is contained in:
Gaetan Lepage 2024-06-18 09:47:59 +02:00 committed by Gaétan Lepage
parent 846b3c991e
commit f5de31debc
3 changed files with 5 additions and 3 deletions

View file

@ -105,7 +105,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 pkgs);
};
config = mkIf cfg.enable {
extraPlugins = with pkgs.vimPlugins; [

View file

@ -210,7 +210,9 @@ with lib;
settings =
helpers.mkNullOrStrLuaFnOr
(types.submodule {
options = import ../../../lsp/language-servers/rust-analyzer-config.nix lib pkgs;
# options = import ../../../lsp/language-servers/rust-analyzer-config.nix lib pkgs;
options = { };
freeformType = with types; attrsOf anything;
})
''
Setting passed to rust-analyzer.

View file

@ -488,7 +488,7 @@ let
description = "rust-analyzer for Rust";
serverName = "rust_analyzer";
settingsOptions = import ./rust-analyzer-config.nix lib pkgs;
# settingsOptions = import ./rust-analyzer-config.nix lib pkgs;
settings = cfg: { rust-analyzer = cfg; };
}
{