From 5455aacdedfb2829f000b2f120a6d5194d1227f8 Mon Sep 17 00:00:00 2001 From: Ariel D'Alessandro Date: Sun, 22 Jan 2023 10:18:07 +0100 Subject: feat: big change on the structure of the plugins, move several things to config dir --- lua/plugins/refactoring.lua | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 lua/plugins/refactoring.lua (limited to 'lua/plugins/refactoring.lua') diff --git a/lua/plugins/refactoring.lua b/lua/plugins/refactoring.lua new file mode 100644 index 0000000..349cc63 --- /dev/null +++ b/lua/plugins/refactoring.lua @@ -0,0 +1,14 @@ +return { + "ThePrimeagen/refactoring.nvim", + dependencies = { + { "nvim-lua/plenary.nvim" }, + { "nvim-treesitter/nvim-treesitter" }, + }, + keys = { { "rr", function() + require("telescope").extensions.refactoring.refactors() + end, mode = { "n", "v" } } }, + config = function() + require("refactoring").setup({}) + require("telescope").load_extension("refactoring") + end +} -- cgit v1.2.3