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" } }, }, })