nvim-telescope / telescope-ui-select.nvim

MIT License
774 stars 18 forks source link

stack trace on <C-q> while ui-select is open #18

Open bluebrown opened 1 year ago

bluebrown commented 1 year ago

Hi, I managed to produce a stack trance, by accident. Its probably not a big problem because that key combination is none sense but I am not sure if it can happen in other scenarios too.

I am using mason, and telescope-ui-select is able to hook into its selection started with <C-f>. When I am in this selection, and I do <C-q>, I get a strack trace.

:Mason<CR>
<C-f>
<C-q>

E5108: Error executing lua Vim:E731: using Dictionary as a String
stack traceback:
        [C]: in function 'setqflist'
        ...cker/start/telescope.nvim/lua/telescope/actions/init.lua:859: in function 'send_all_to_qf'
        ...cker/start/telescope.nvim/lua/telescope/actions/init.lua:880: in function 'run_replace_or_original'
        ...packer/start/telescope.nvim/lua/telescope/actions/mt.lua:65: in function 'key_func'
        ...k/packer/start/telescope.nvim/lua/telescope/mappings.lua:352: in function 'execute_keymap'
        [string ":lua"]:1: in main chunk