caio.co/de/dotfiles

rust: rust-analyzer via rustup, remove workaround

Id
c40735dec7d83cbb3ba79d4f3cfbfa731417f31a
Author
Caio
Commit time
2023-01-02T21:10:31+01:00

Modified config/nvim/lua/config/lsp.lua

@@ -37,16 +37,11
flags = {
debounce_text_changes = 150,
},
+ cmd = {"rustup", "run", "stable", "rust-analyzer"},
settings = {
["rust-analyzer"] = {
checkOnSave = {
command = "clippy",
- },
- -- https://github.com/rust-analyzer/rust-analyzer/issues/11533
- procMacro = {
- ignored = {
- ["async-trait"] = {"async_trait"},
- },
},
cargo = {
allFeatures = true,