From fd21ca18eb501ed2e075cec4c1d788255a04694f Mon Sep 17 00:00:00 2001 From: kalmenn Date: Thu, 29 Feb 2024 23:13:05 +0100 Subject: [PATCH] feat(lsp)!: Remove rust-tools hover and code actions keybindings --- lua/plugins/languages/rust.lua | 7 ------- 1 file changed, 7 deletions(-) diff --git a/lua/plugins/languages/rust.lua b/lua/plugins/languages/rust.lua index 13ff783..77dc207 100644 --- a/lua/plugins/languages/rust.lua +++ b/lua/plugins/languages/rust.lua @@ -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", "", rt.hover_actions.hover_actions, { buffer = bufnr }) - -- Code action groups - vim.keymap.set("n", "a", rt.code_action_group.code_action_group, { buffer = bufnr }) - end, capabilities = capabilities, settings = { ["rust-analyzer"] = {