Skip to content

Commit

Permalink
fix(lsp): add missing offset_encoding param (#3098)
Browse files Browse the repository at this point in the history
  • Loading branch information
jamestrew committed May 14, 2024
1 parent df4dd30 commit c8b69ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lua/telescope/builtin/__lsp.lua
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ local function list_or_jump(action, title, params, opts)
vim.list_extend(locations, result)

local offset_encoding = vim.lsp.get_client_by_id(ctx.client_id).offset_encoding
local items = vim.lsp.util.locations_to_items(locations)
local items = vim.lsp.util.locations_to_items(locations, offset_encoding)

locations, items = apply_action_handler(action, locations, items, opts)

Expand Down

0 comments on commit c8b69ca

Please sign in to comment.