[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.
This commit is contained in:
Eryn Wells 2025-08-01 10:33:03 -07:00
parent f7e802d3f3
commit bb82a7ca75

View file

@ -115,7 +115,8 @@ lspconfig.rust_analyzer.setup {
enable = true, enable = true,
}, },
}, },
checkOnSave = { checkOnSave = true,
check = {
command = 'clippy', command = 'clippy',
extraArgs = { extraArgs = {
"--", "--",