Skip to content

Commit 06b9f23

Browse files
committed
feat: action headers for custom pickers (closes #2311)
1 parent 3d2cbb8 commit 06b9f23

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

lua/fzf-lua/core.lua

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -764,6 +764,7 @@ end
764764

765765
M.set_header = function(opts)
766766
opts = opts or {}
767+
opts._headers = opts._headers == nil and { "actions" } or opts._headers
767768
if opts.header ~= nil
768769
or opts.headers == false
769770
or type(opts._headers) ~= "table"

0 commit comments

Comments
 (0)