diff --git a/lua/plugins/lsp.lua b/lua/plugins/lsp.lua index 78dee4b..1b35ee3 100644 --- a/lua/plugins/lsp.lua +++ b/lua/plugins/lsp.lua @@ -26,6 +26,15 @@ return { }, }, }, + rust_analyzer = { + settings = { + ["rust-analyzer"] = { + checkOnSave = { + command = "clippy", + }, + }, + } + }, }, }, },