diff --git a/lua/plugins.lua b/lua/plugins.lua index 9ebbcd3..eb6b23f 100644 --- a/lua/plugins.lua +++ b/lua/plugins.lua @@ -25,6 +25,23 @@ return { ft = { "markdown" } }, + { + 'simrat39/rust-tools.nvim', + config = function() + local rt = require("rust-tools") + rt.setup({ + server = { + on_attach = function(_, bufnr) + -- 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, + }, + }) + end + }, + { 'ray-x/web-tools.nvim', config = function()