rust expand macro

This commit is contained in:
Miguel Palhas
2025-03-07 09:43:37 +00:00
parent dbf858845e
commit 8dd5674fe6
+4
View File
@@ -69,6 +69,10 @@ M.rustacean = {
on_attach = function(client, bufnr)
M.on_attach(client, bufnr)
map("n", "re", function()
vim.cmd.RustLsp "expandMacro"
end)
local function opts(desc)
return { buffer = bufnr, desc = "LSP " .. desc }
end