Skip to content

Commit a524962

Browse files
committed
fix(global): document symbols formatting
1 parent 326bc75 commit a524962

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lua/fzf-lua/providers/lsp.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -272,7 +272,7 @@ local function symbol_handler(opts, cb, _, result, ctx, _)
272272
opts.__locate_pos = opts.__locate_count
273273
end
274274
end
275-
if opts.__sym_bufnr then
275+
if opts.__sym_bufnr and not opts.pickers then -- use old format on "global" picker
276276
-- document_symbols
277277
entry1 = string.format("[%s]%s%s:%s:%s\t\t%s",
278278
utils.ansi_codes[opts.hls.buf_nr](tostring(opts.__sym_bufnr)),

0 commit comments

Comments
 (0)