You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
12 lines
351 B
12 lines
351 B
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, |
|
}, |
|
})
|
|
|