Skip to content

Commit 06d4fe9

Browse files
committed
fix(formatter): disable for lines|blines
1 parent 691a858 commit 06d4fe9

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

lua/fzf-lua/providers/buffers.lua

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -224,6 +224,9 @@ end
224224
M.buffer_lines = function(opts)
225225
if not opts then return end
226226

227+
-- formatter doesn't work with lines|blines as only filename is displayed
228+
opts._fmt = false
229+
227230
opts.fn_pre_fzf = function() core.CTX(true) end
228231
opts.fn_pre_fzf()
229232

0 commit comments

Comments
 (0)