forked from niuiic/blink-cmp-rg.nvim
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(git,opt-in): experimental git grep backend
Issue ===== The performance in huge repositories like https://github.com/llvm/llvm-project is extremely slow. It takes ripgrep about a minute to search through the entire codebase before any completion suggestions are shown. Solution ======== Provide a much faster alternative backend that uses `git grep` to search the codebase. This is still beta quality, but I think it can be improved incrementally to be pretty good. This backend has the following benefits and drawbacks: Benefits: - much faster (5 seconds instead of 1 minute in llvm-project) Drawbacks: - does not work in non-git repositories - not very configurable yet, but can be improved - no way to ignore files based on their size like with ripgrep Please provide feedback on this! I would like to add good support and tests for - git submodules - git worktrees - any additional features that are cool Related to #110
- Loading branch information
1 parent
31e685e
commit 6996db4
Showing
17 changed files
with
780 additions
and
92 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.