From 0e59a28e95ee6f14392064e9acff3104118d1e59 Mon Sep 17 00:00:00 2001 From: Austin Horstman Date: Tue, 8 Oct 2024 14:48:37 -0500 Subject: [PATCH] plugins/rustaceanvim: fix deprecation --- plugins/by-name/rustaceanvim/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/by-name/rustaceanvim/default.nix b/plugins/by-name/rustaceanvim/default.nix index 6fff2b32..a90723fe 100644 --- a/plugins/by-name/rustaceanvim/default.nix +++ b/plugins/by-name/rustaceanvim/default.nix @@ -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. ''; }