tom-anders / telescope-vim-bookmarks.nvim

Integrates vim-bookmarks into telescope.nvim
MIT License
114 stars 23 forks source link

Error with builtin picker #8

Open radyz opened 3 years ago

radyz commented 3 years ago

Whenever I try to run

lua require('telescope.builtin').builtin({include_extensions = true})

this particular extension will raise an error with the following message:

5108: Error executing lua ...lugged/telescope.nvim/lua/telescope/builtin/internal.lua:46: bad argument #1 to 'getinfo' (function or level expected)

I've narrowed it down to this line https://github.com/nvim-telescope/telescope.nvim/blob/master/lua/telescope/builtin/internal.lua#L44, not sure what that fn is expecting to get though. It looks like it doesn't accept this https://github.com/tom-anders/telescope-vim-bookmarks.nvim/blob/main/lua/telescope/_extensions/vim_bookmarks.lua#L159 as a table