nixvim
nixvim copied to clipboard
feature: option to enable refactor.nvim's telescope extension
refactoring.nvim includes a Telescope extension that can be enabled using
extraConfigLuaPre = /* lua */ ''
-- load refactoring Telescope extension
require("telescope").load_extension("refactoring")
'';
And used in keymaps as follows:
keymps = [
{
mode = "n";
key = "<leader>rr";
action = /* lua */ ''
function() require("telescope").extensions.refactoring.refactors() end
'';
lua = true;
options.desc = "Select refactoring option";
}
];
It'd be great if plugins.refactoring had options to configure this
Related
Perhaps plugins.telescope.enabledExtensions could be made public or an plugins.telescope.extraExtensions could be introduced to handle other unsupported telescope extensions?