Open meetmangukiya opened 1 year ago
I think its because the position params built are built with window which uses current buffer https://github.com/nvim-telescope/telescope.nvim/blob/master/lua/telescope/builtin/__lsp.lua#L268-L269
I think we need a vim.lsp.util.make_position_params_buffer(bufnr, ...)
which doesn't seem to exist
Description
shows buffer symbol of the current buffer in the picker, but in the previewer shows the OTHER_BUFFER. It should show the symbols of the OTHER_BUFFER
Neovim version
Operating system and version
macOS 14.0
Telescope version / branch / rev
telescope 0.1.3
checkhealth telescope
Steps to reproduce
just run with a non current buffer number
Expected behavior
picker should be showing OTHER_BUFFER_NUMBER's symbols, previewer is showing correct buffer
Actual behavior
picker is showing current buffer symbols
Minimal config