mirror of
https://github.com/zoriya/telescope.nvim.git
synced 2026-08-06 06:07:58 +00:00
* Fix jump regression in LSP references action handler This change restores the possibility to exclude the current line when invoking the lsp_references picker. - opts.include_current_line is by default unset, so the previous equality check would fail unless the option was set explicitly. - vim.api.nvim_win_get_cursor() returns both line and column, so it can't be directly compared with the returned line number. - The actual comparison was expecting quickfix-like items, when in actuality, we were dealing with raw LSP location objects. * lsp: Pass offset_encoding to action_handlers * LSP: Action handlers take both locations and items * LSP: Rename (flattened_)results → locations * LSP: Early return in list_or_jump