diff --git a/lua/lsp.lua b/lua/lsp.lua index b885621..abb1051 100644 --- a/lua/lsp.lua +++ b/lua/lsp.lua @@ -15,7 +15,7 @@ require'lspconfig'.rust_analyzer.setup{ }, checkOnSave = { command = 'clippy', - extraArgs = "-W clippy::pedantic" + extraArgs = { "--", "-W", "clippy::pedantic" } }, } }