Skip to content

Bug: blines show buffer number when openeed in "global" picker #2515

@Dooez

Description

@Dooez

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

Shell

fish

Neovim version (nvim --version)

0.11.5

Fzf version (fzf --version)

0.67.0

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

{
        "ibhagwan/fzf-lua",
        dependencies = { "nvim-tree/nvim-web-devicons" },
        opts = {
            global = {
                pickers = {
                    { 'blines', },
                    { 'files',  desc = "Files", prefix = '/' },
                },
            },
        },
    }

Describe the bug / steps to reproduce

When opening blines picker as a part of global picker the buffer numbers are shown, even though only one buffer is present.
It's possible that fzf_ops is incorrectly merged.
If opts.global.fzf_opts["--with-nth"] = "4..." the buffer numbers disappear, but other pickers break.
Opening blines picker directly works as intended

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingupstreamAn issue upstream (neovim, fzf, etc)

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions