Skip to content

Commit

Permalink
fix(groups): use correct cmdline completion function
Browse files Browse the repository at this point in the history
  • Loading branch information
akinsho committed Apr 24, 2023
1 parent 4bba631 commit a4bd445
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lua/bufferline.lua
Original file line number Diff line number Diff line change
Expand Up @@ -168,11 +168,11 @@ local function setup_commands()
command("BufferLineTogglePin", function() groups.toggle_pin() end, { nargs = 0 })
command("BufferLineGroupClose", function(opts) groups.action(opts.args, "close") end, {
nargs = 1,
complete = groups.complete_groups,
complete = groups.complete,
})
command("BufferLineGroupToggle", function(opts) groups.action(opts.args, "toggle") end, {
nargs = 1,
complete = groups.complete_groups,
complete = groups.complete,
})
end

Expand Down

0 comments on commit a4bd445

Please sign in to comment.