plugins/rustaceanvim: fix deprecation

This commit is contained in:
Austin Horstman 2024-10-08 14:48:37 -05:00
parent ed4958c206
commit 0e59a28e95
No known key found for this signature in database

View file

@ -60,9 +60,9 @@ helpers.neovim-plugin.mkNeovimPlugin {
assertions = [
{
assertion = cfg.enable -> !config.plugins.lsp.servers.rust-analyzer.enable;
assertion = cfg.enable -> !config.plugins.lsp.servers.rust_analyzer.enable;
message = ''
Nixvim (plugins.rustaceanvim): Both `plugins.rustaceanvim.enable` and `plugins.lsp.servers.rust-analyzer.enable` are true.
Nixvim (plugins.rustaceanvim): Both `plugins.rustaceanvim.enable` and `plugins.lsp.servers.rust_analyzer.enable` are true.
Disable one of them otherwise you will have multiple clients attached to each buffer.
'';
}