Skip to content

Is there a way to give a name to a custom function action so it's rendered in the help panel? #1349

Answered by ibhagwan
waiting-for-dev asked this question in Q&A
Discussion options

You must be logged in to vote
require'fzf-lua'.setup {
  git = {
    bcommits = {
      actions = {
        ["default"] = { fn = action_fugitive_commit_diff, desc = 'help string' },
      },
    }
}

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@waiting-for-dev
Comment options

Answer selected by waiting-for-dev
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants