chore(nvim): re-enable rust-analyzer proc macro support
This commit is contained in:
parent
751f0376bc
commit
7a8f5f9073
|
@ -66,23 +66,19 @@ nvim_lsp.gopls.setup({
|
|||
unusedresult = true,
|
||||
nilness = true,
|
||||
},
|
||||
buildFlags = { "-tags=acceptance" }
|
||||
buildFlags = { "-tags=acceptance" },
|
||||
},
|
||||
},
|
||||
init_options = {
|
||||
usePlaceholders = true,
|
||||
},
|
||||
capabilities = vim.tbl_extend(
|
||||
"error",
|
||||
capabilities,
|
||||
{
|
||||
capabilities = vim.tbl_extend("error", capabilities, {
|
||||
workspace = {
|
||||
didChangeWatchedFiles = {
|
||||
dynamicRegistration = true
|
||||
}
|
||||
}
|
||||
}
|
||||
),
|
||||
dynamicRegistration = true,
|
||||
},
|
||||
},
|
||||
}),
|
||||
on_attach = on_attach,
|
||||
})
|
||||
|
||||
|
@ -103,12 +99,12 @@ nvim_lsp.rust_analyzer.setup({
|
|||
enable = true,
|
||||
},
|
||||
},
|
||||
procMacro = {
|
||||
enable = false,
|
||||
},
|
||||
diagnostics = {
|
||||
disabled = { "unresolved-proc-macro" },
|
||||
},
|
||||
-- procMacro = {
|
||||
-- enable = false,
|
||||
-- },
|
||||
-- diagnostics = {
|
||||
-- disabled = { "unresolved-proc-macro" },
|
||||
-- },
|
||||
},
|
||||
},
|
||||
})
|
||||
|
|
Loading…
Reference in New Issue