feat: add new Telescope extensions including frecency, undo tree, and recent files

This commit is contained in:
2024-09-15 01:07:03 -04:00
parent 70c3f4dc44
commit d140f928ca
7 changed files with 150 additions and 64 deletions
-13
View File
@@ -515,19 +515,6 @@ function M.dump_buffer_to_table(register)
vim.fn.setreg(register, output)
end
---@function Function to open the frecency picker
---@return nil
function M.frecency_picker()
-- Trigger the picker
require("telescope").extensions.frecency.frecency({ workspace = "CWD" })
-- Remove `A` character that is added by the picker
vim.api.nvim_feedkeys(
vim.api.nvim_replace_termcodes("<BS>", true, true, true),
"n",
false
)
end
---@function Function to reload the user's Neovim configuration
---@return nil
function M.reload_config()