From a233f6e7f276fcdf4fc66c75c687194caea1cdde Mon Sep 17 00:00:00 2001 From: mace Date: Mon, 24 Nov 2025 18:53:57 +0100 Subject: [PATCH] added clippy for rust lsp setup --- lua/custom/lspconfig.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lua/custom/lspconfig.lua b/lua/custom/lspconfig.lua index 9833d6b..021327e 100644 --- a/lua/custom/lspconfig.lua +++ b/lua/custom/lspconfig.lua @@ -119,7 +119,7 @@ setup_server("eslint", { }) setup_server("rust_analyzer", { settings = { - ["rust-analyzer"] = { checkOnSave = true }, + ["rust-analyzer"] = { checkOnSave = true, check = { command = "clippy" } }, }, })