Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add max_traversed_entries option #67

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Commits on Mar 15, 2023

  1. feat: add max_traversed_entries option

    At my work, we have a huge monorepo with a directory with over 70k
    entries. This plugin, being synchronous, was blocking Neovim for tens of
    seconds.
    
    This option should be universally useful to just time-box any search
    done by this plugin. I don't think it makes sense to leave this
    search unbounded as people expect interactivity from Neovim.
    
    Perhaps, some change of API will make it possible to make search more
    optimal (e.g., a batch fetch), but even than a limit to how many entries
    Neovim has to process is relevant.
    gregorias committed Mar 15, 2023
    Configuration menu
    Copy the full SHA
    5c451ff View commit details
    Browse the repository at this point in the history