From e0b077889faf51b9138d2949c3d7db18a7c1ef7a Mon Sep 17 00:00:00 2001 From: Nick Zana Date: Sat, 19 Mar 2022 17:05:54 -0400 Subject: [PATCH] update clippy lsp command --- lua/lsp.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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" } }, } }