Skip to content

Commit

Permalink
docs(readme): add hover action keymap to quick setup section
Browse files Browse the repository at this point in the history
  • Loading branch information
mrcjkb committed Oct 31, 2024
1 parent e1f9464 commit 7405d2d
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,13 @@ vim.keymap.set(
-- or vim.lsp.buf.codeAction() if you don't want grouping.
end,
{ silent = true, buffer = bufnr }
vim.keymap.set(
"n",
"K", -- Override Neovim's built-in hover keymap with rustaceanvim's hover actions
function()
vim.cmd.RustLsp({'hover', 'action'})
end,
{ silent = true, buffer = bufnr }
)
```

Expand Down

0 comments on commit 7405d2d

Please sign in to comment.