From bb82a7ca75bd59af633b8dc9503d360c6b01aa0a Mon Sep 17 00:00:00 2001 From: Eryn Wells Date: Fri, 1 Aug 2025 10:33:03 -0700 Subject: [PATCH] [nvim] Update format of rust-analyzer LSP config I think the format of the config table for rust-analyzer changed. checkOnSave takes a bool, and a separate check table provides the parameters. --- config/nvim/lua/lsp.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/config/nvim/lua/lsp.lua b/config/nvim/lua/lsp.lua index 87f964f..0bed968 100644 --- a/config/nvim/lua/lsp.lua +++ b/config/nvim/lua/lsp.lua @@ -115,7 +115,8 @@ lspconfig.rust_analyzer.setup { enable = true, }, }, - checkOnSave = { + checkOnSave = true, + check = { command = 'clippy', extraArgs = { "--",