diff --git a/lua/fzf-lua/providers/buffers.lua b/lua/fzf-lua/providers/buffers.lua index 5391b7c..0c8f59a 100644 --- a/lua/fzf-lua/providers/buffers.lua +++ b/lua/fzf-lua/providers/buffers.lua @@ -262,7 +262,7 @@ M.buffer_lines = function(opts) opts.fzf_opts['--query'] = vim.fn.shellescape(opts.search) end - opts = core.set_fzf_field_index(opts, 3, "{..-2}") + opts = core.set_fzf_field_index(opts, 3, opts._is_skim and "{}" or "{..-2}") core.fzf_wrap(opts, items, function(selected) if not selected then return end @@ -348,7 +348,7 @@ M.tabs = function(opts) opts.fzf_opts["--delimiter"] = vim.fn.shellescape('[\\):]') opts.fzf_opts["--with-nth"] = '2..' - opts = core.set_fzf_field_index(opts, 3) + opts = core.set_fzf_field_index(opts, 3, "{}") core.fzf_wrap(opts, contents, function(selected) diff --git a/lua/fzf-lua/providers/dap.lua b/lua/fzf-lua/providers/dap.lua index a6e7557..9738657 100644 --- a/lua/fzf-lua/providers/dap.lua +++ b/lua/fzf-lua/providers/dap.lua @@ -162,7 +162,7 @@ M.breakpoints = function(opts) :format(utils.ansi_codes.yellow(""))) end - opts = core.set_fzf_field_index(opts, 3, "{..-2}") + opts = core.set_fzf_field_index(opts, 3, opts._is_skim and "{}" or "{..-2}") core.fzf_wrap(opts, contents, function(selected)