diff options
| author | Ariel D'Alessandro <ariel.dalessandro@auto1.com> | 2023-01-18 12:09:21 +0100 |
|---|---|---|
| committer | Ariel D'Alessandro <ariel.dalessandro@auto1.com> | 2023-01-18 12:09:21 +0100 |
| commit | b3b19c488dfd8688fb3813f553b509cd87ad8462 (patch) | |
| tree | ca7b243912e5904f6ea49e28789974d006de285f /lua/alpha/plugins/refactoring.lua | |
| parent | a04f9cd914055244f29e9ff17aa7a723f5db2405 (diff) | |
| download | nvim-conf-b3b19c488dfd8688fb3813f553b509cd87ad8462.tar.gz nvim-conf-b3b19c488dfd8688fb3813f553b509cd87ad8462.zip | |
feat: improve lazy configuration on how loading plugins
Diffstat (limited to 'lua/alpha/plugins/refactoring.lua')
| -rw-r--r-- | lua/alpha/plugins/refactoring.lua | 4 |
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 } |