aboutsummaryrefslogtreecommitdiffstats
path: root/lua/alpha/plugins/refactoring.lua
diff options
context:
space:
mode:
Diffstat (limited to 'lua/alpha/plugins/refactoring.lua')
-rw-r--r--lua/alpha/plugins/refactoring.lua4
1 files changed, 4 insertions, 0 deletions
diff --git a/lua/alpha/plugins/refactoring.lua b/lua/alpha/plugins/refactoring.lua
index c8bf7fc..349cc63 100644
--- a/lua/alpha/plugins/refactoring.lua
+++ b/lua/alpha/plugins/refactoring.lua
@@ -4,7 +4,11 @@ return {
{ "nvim-lua/plenary.nvim" },
{ "nvim-treesitter/nvim-treesitter" },
},
+ keys = { { "<leader>rr", function()
+ require("telescope").extensions.refactoring.refactors()
+ end, mode = { "n", "v" } } },
config = function()
require("refactoring").setup({})
+ require("telescope").load_extension("refactoring")
end
}