Skip to content

Bug: tags command gets a lot of time indexing #2657

@RaulCote

Description

@RaulCote

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

Mac

Shell

zsh

Neovim version (nvim --version)

0.12.0

Fzf version (fzf --version)

0.70.0 (Homebrew)

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

mostly color customisations

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

Describe the bug / steps to reproduce

I noticed that the tags command gets a lot of time to index the tags from my repository. Sometimes I search for a tag and is not matched until later because it's still indexing. A long ago I opened an issue as well and I remember rg_glob = false solved it for grep command. But it seems the tags command doesn't have this option, still I'm not even sure if it would be the same issue. On fzf.vim it takes not even 2 seconds to load all the tags, and fzf-lua it takes more than 10 seconds. The number of tags seems to be 1535991, in both of them shows the same quantity.

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