Updated a bunch of configs
This commit is contained in:
@@ -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 = {
|
||||
|
||||
Reference in New Issue
Block a user