Skip to content

Bug: FzfLua global picker for # [Symbols (project) action] closes fzf window #2221

@chapeupreto

Description

@chapeupreto

RTFM Checklist

  • I have searched exisiting issues / discussions
  • I have read the Wiki including the Advanced section
  • I have read man fzf / I am well versed in shell fzf

Operating system

Linux (Ubuntu 22.04.5 LTS)

Shell

fish, version 4.0.2

Neovim version (nvim --version)

NVIM v0.11.3

Fzf version (fzf --version)

0.62.0 (d226d841)

Output of :lua print(os.getenv('FZF_DEFAULT_OPTS'))

nil

Is the problem reproducible with mini.sh?

  • My issue is reproducible with mini.sh
  • My issue IS NOT reproducible with mini.sh
  • I have not tested with mini.sh (not relevant, requires LSP, Windows, etc)

Fzf-lua configuration

require('fzf-lua').setup({
})

Describe the bug / steps to reproduce

After doing FzfLua global, when the # key is the first key pressed [in this context, # is used for Symbols (project)], the whole fzf prompt/window quits/closes. This only happens when FzfLua global command is issued on an opened file.

If FzfLua global is issued when there's no opened file or file has no LSP configured, the # means Tags (project) and it doesn´t quit/close fzf prompt/window. The issue is only for the Symbols (project) action.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions