From 1cbb3115190ba95d32d9da8fd76dfc4313f44f37 Mon Sep 17 00:00:00 2001 From: Miguel Palhas Date: Wed, 30 Jul 2025 17:32:44 +0100 Subject: [PATCH] disable inactive-code warnings on rust-analyzer --- lua/configs/lspconfig.lua | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lua/configs/lspconfig.lua b/lua/configs/lspconfig.lua index dbf2ca4..2548b19 100644 --- a/lua/configs/lspconfig.lua +++ b/lua/configs/lspconfig.lua @@ -66,6 +66,9 @@ M.rustacean = { allFeatures = true, targetDir = true, }, + diagnostics = { + disabled = { "inactive-code" }, + }, }, }, on_attach = function(client, bufnr)