Updated a bunch of configs

This commit is contained in:
Lol3rrr
2026-01-20 11:59:23 +01:00
parent 6f5ffca775
commit ea27234ab1
6 changed files with 31 additions and 25 deletions

View File

@@ -4,7 +4,9 @@ return {{
ft = { "rs" },
lazy = false,
opts = {
tools = {},
server = {
status_notify_level = false,
on_attach = function(_, bufnr)
vim.keymap.set("n", "<leader>cR", function()
vim.cmd.RustLsp("codeAction")
@@ -21,12 +23,14 @@ return {{
loadOutDirsFromCheck = true,
runBuildScripts = true,
},
-- Add clippy lints for Rust.
checkOnSave = {
allFeatures = true,
command = "clippy",
extraArgs = { "--no-deps" },
},
-- They changed the configuration, so it's only checkOnSave with a boolean
-- # TODO: Figure out how we can enable clippy lints again
--checkOnSave = {
-- allFeatures = true,
-- command = "clippy",
-- extraArgs = { "--no-deps" },
--},
checkOnSave = true,
procMacro = {
enable = true,
ignored = {