plugin/rustaceanvim: Handle rust-analyzer settings rename

This commit is contained in:
traxys 2024-07-10 22:30:09 +02:00
parent 34c3c026b4
commit 123c102a13
3 changed files with 21 additions and 5 deletions

View file

@ -254,10 +254,10 @@ with lib;
```
'';
settings =
default_settings =
helpers.mkNullOrStrLuaFnOr
(types.submodule {
options = import ../../../lsp/language-servers/rust-analyzer-config.nix lib helpers;
options.rust-analyzer = import ../../../lsp/language-servers/rust-analyzer-config.nix lib helpers;
freeformType = with types; attrsOf anything;
})
''