feat: Add WhichKey descriptions

This commit is contained in:
Fabio Lenherr / DashieTM 2023-05-13 12:31:21 +02:00
parent a8ef41ae1a
commit 479626c1ec
10 changed files with 265 additions and 90 deletions

View file

@ -3,10 +3,6 @@ local rt = require("rust-tools")
rt.setup({
server = {
on_attach = function(_, bufnr)
-- Hover actions
vim.keymap.set("n", "<C-space>", rt.hover_actions.hover_actions, { buffer = bufnr })
-- Code action groups
vim.keymap.set("n", "<Leader>a", rt.code_action_group.code_action_group, { buffer = bufnr })
end,
},
})