I'm trying to make an MRE config for a bug that telescope frecency has (the bug is that the letter A is inserted into the prompt the first time I use the frecency picker)
Here's the config
vim.opt.rtp:append("~/.local/share/nvim/lazy/plenary.nvim")
vim.opt.rtp:append("~/.local/share/nvim/lazy/telescope.nvim")
vim.opt.rtp:append("~/.local/share/nvim/lazy/telescope-frecency.nvim")
require('telescope').setup{}
require("telescope").load_extension "frecency"
vim.keymap.set(
'n',
'<Space>fr',
require'telescope'.extensions.frecency.frecency,
{ noremap = true, silent = true }
)
When I run
vim -u <(cat <<'EOF'
vim.opt.rtp:append("~/.local/share/nvim/lazy/plenary.nvim")
vim.opt.rtp:append("~/.local/share/nvim/lazy/telescope.nvim")
vim.opt.rtp:append("~/.local/share/nvim/lazy/telescope-frecency.nvim")
require('telescope').setup{}
require("telescope").load_extension "frecency"
vim.keymap.set(
'n',
'<Space>fr',
require'telescope'.extensions.frecency.frecency,
{ noremap = true, silent = true }
)
EOF
)
And then press <space>fr to open telescope-frecency, I first get a little interactive prompt
[Telescope-Frecency] remove 565 entries from database?
1: Yes. Remove them.
2: No. Do nothing.
Type number and <Enter> or click with the mouse (q or empty cancels):
why? why does this only exist for this config?
I'm trying to make an MRE config for a bug that telescope frecency has (the bug is that the letter
Ais inserted into the prompt the first time I use the frecency picker)Here's the config
When I run
And then press
<space>frto open telescope-frecency, I first get a little interactive promptwhy? why does this only exist for this config?