Skip to content

Commit

Permalink
fix(dap_breakpoints): with path.filename_first formatter
Browse files Browse the repository at this point in the history
  • Loading branch information
ibhagwan committed May 5, 2024
1 parent 43f46c4 commit 6865ff4
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lua/fzf-lua/providers/dap.lua
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,9 @@ M.breakpoints = function(opts)
-- display relative paths by default
if opts.cwd == nil then opts.cwd = vim.loop.cwd() end

-- set parent_idx base for `formatter=path.filename_first`
opts._parent_idx = 3

opts.func_async_callback = false
opts.__fn_reload = opts.__fn_reload or function(_)
return function(cb)
Expand Down

0 comments on commit 6865ff4

Please sign in to comment.