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.
refactor!(future): change backend configuration to use a table
BREAKING CHANGE: If you were using the git_grep backend, you will need to update your configuration to use the new format. Issue ===== It's possible to choose between different backends (ripgrep and gitgrep) for the plugin. However, not all configuration options can be supported for all backends. Right now there are many ripgrep specific options that are confusing. Solution ======== Change the backend configuration to use a table instead of a string. Later on, we can add more configuration options for each backend.
- Loading branch information
1 parent
73999e1
commit 35b6314
Showing
2 changed files
with
11 additions
and
4 deletions.
There are no files selected for viewing
4 changes: 3 additions & 1 deletion
4
integration-tests/test-environment/config-modifications/use_gitgrep_backend.lua
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,7 @@ | ||
require("blink-ripgrep").setup({ | ||
future_features = { | ||
backend = "gitgrep", | ||
backend = { | ||
use = "gitgrep", | ||
}, | ||
}, | ||
}) |
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