From 34ec60c47fc1892f30a3da2b45632d3fa498b95a Mon Sep 17 00:00:00 2001 From: mirsella Date: Thu, 30 May 2024 23:50:37 +0200 Subject: [PATCH] =?UTF-8?q?fix(rust):=20let=20rustaceans.nvim=20setup=20ru?= =?UTF-8?q?st=5Fanalyzer=20fix=20this=20warning=20```=20=20=EE=A9=AC=20=20?= =?UTF-8?q?Warn=20=2011:52:45=20PM=20notify.warn=20nvim-lspconfig.rust=5Fa?= =?UTF-8?q?nalyzer=20has=20been=20setup.=20This=20will=20likely=20lead=20t?= =?UTF-8?q?o=20conflicts=20with=20the=20rustaceanvim=20LSP=20client.=20See?= =?UTF-8?q?=20':h=20rustaceanvim.mason'=20```=20fix=20taken=20from=20https?= =?UTF-8?q?://github.com/mrcjkb/rustaceanvim/blob/master/doc/mason.txt?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lua/lazyvim/plugins/extras/lang/rust.lua | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/lua/lazyvim/plugins/extras/lang/rust.lua b/lua/lazyvim/plugins/extras/lang/rust.lua index 5a3c59d7..55203e7d 100644 --- a/lua/lazyvim/plugins/extras/lang/rust.lua +++ b/lua/lazyvim/plugins/extras/lang/rust.lua @@ -103,6 +103,11 @@ return { { "neovim/nvim-lspconfig", opts = { + setup = { + rust_analyzer = function() + return true + end, + }, servers = { taplo = { keys = {