From c0ff7068b331f58619c2eb74624ede3e549ea7ea Mon Sep 17 00:00:00 2001 From: bhagwan Date: Tue, 19 Mar 2024 17:38:22 -0700 Subject: [PATCH] fix(dap_breakpoints): with `file_icons=false` (closes #1093) --- lua/fzf-lua/providers/dap.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lua/fzf-lua/providers/dap.lua b/lua/fzf-lua/providers/dap.lua index 64e5e6b1..399b18bb 100644 --- a/lua/fzf-lua/providers/dap.lua +++ b/lua/fzf-lua/providers/dap.lua @@ -101,9 +101,10 @@ M.breakpoints = function(opts) for _, b in ipairs(bps) do vim.schedule(function() local entry = make_entry.lcol(b, opts) - entry = string.format("[%s] %s", + entry = string.format("[%s]%s%s", -- tostring(opts._locations[i].bufnr), utils.ansi_codes.yellow(tostring(b.bufnr)), + utils.nbsp, make_entry.file(entry, opts)) cb(entry, function() coroutine.resume(co)