diff --git a/users/price/dots/.config/nvim/lua/plugins/configs/lsp.lua b/users/price/dots/.config/nvim/lua/plugins/configs/lsp.lua index 11985be4..127ec71a 100644 --- a/users/price/dots/.config/nvim/lua/plugins/configs/lsp.lua +++ b/users/price/dots/.config/nvim/lua/plugins/configs/lsp.lua @@ -110,17 +110,19 @@ return { default_settings = { ["rust-analyzer"] = { cargo = { - allFeatures = true, + features = "all", loadOutDirsFromCheck = true, runBuildScripts = true, }, - checkOnSave = { - allFeatures = true, - allTargets = true, + check = { command = "clippy", + features = "all", }, - procMacro = { - enable = true, + checkOnSave = true, + rustfmt = { + rangeFormatting = { + enable = true, + }, }, }, },