feat(lsp)!: Remove rust-tools hover and code actions keybindings

This commit is contained in:
kalmenn 2024-02-29 23:13:05 +01:00
parent df8cb4e6c7
commit fd21ca18eb
Signed by: kalmenn
GPG key ID: F500055C44BC3834

View file

@ -49,13 +49,6 @@ return {
require("rust-tools").setup({
server = {
on_attach = function(_, bufnr)
local rt = require("rust-tools")
-- 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,
capabilities = capabilities,
settings = {
["rust-analyzer"] = {