1.0.0 (2025-08-10)
⚠ BREAKING CHANGES
- clearly support backend specific options (#256)
- render the context preview lazily, not immediately
- The
get_command
function, which provides a custom way to generate the entire ripgrep command, must now return a table with the command and the root path. - The label will no longer show "(rg)" by default for blink-ripgrep results. If you want to preserve the previous behavior, you can copy the
transform_items
option from the README to your configuration. - highlight the match context with treesitter (#22)
- rename project to blink-ripgrep.nvim
Features
- add a debug mode that prints the rg command that was used (96bf52c)
- add additional_paths option to search in additional dirs/files (519ac78)
- add checkhealth script (9b46e4f)
- add health check for blink-cmp-rg (6514423)
- add lua_ls types for the plugin's options (#3) (16598dd)
- add workaround for issue with documentation (7bec1b6)
- allow canceling the search with
project_root_fallback = false
(#112) (c693690) - allow customizing the search casing for ripgrep (#66) (2ec6aef)
- allow flexible configuration of the project root (#70) (78e1e89)
- allow passing
additional_rg_options
to ripgrep (#57) (bce6c51) - allow specifying the number of lines to show around each match (4a449cb)
- allow using gitgrep or ripgrep based on the current directory (#178) (4d8cc19)
- blink displays text CompletionItemKind for results (#84) (51aa53a)
- can find words that include special characters (81cc172)
- config (98bf68d)
- debug,opt-in: temporarily highlight the search prefix (#95) (7854eee)
- display context for matches as documentation (c21f1ed)
- don't show "(rg)" in the label by default (#83) (0940212)
- enable toggling the plugin on/off with folke/snacks.nvim (#123) (eea5060)
- fall back to regex highlighting when treesitter not available (#65) (a7bc8fd)
- git,opt-in: experimental git grep backend (#142) (909eec8)
- git: always use
--recurse-submodules
(081985f) - highlight the match context with treesitter (#22) (96e3fb5)
- highlight the match in the documentation window (#74) (9827f17)
- ignore case (efff62b)
- init project (4a04bec)
- make it easy to see which matches are from rg (8d64505)
- more options (aa27e72)
- move toggle keymaps to stable features (9c6ab71)
- opt-in: kill previous searches when a new search is started (#100) (705069a)
- opt-in: toggle debug mode on/off for quick plugin debugging (#226) (92f9e5f)
- option ignore_paths to avoid running on certain paths (#105) (0882f96)
- performance: max_filesize option (def: 1M) skips large files (#41) (1cfaf8d)
- remove issue185_workaround as it is no longer needed (8bc8c07)
- rg source completion (755594b)
- show the file name where the match came from (#10) (0c369d8)
- show the matched lines as documentation for context (76676af)
- support multiple matches on the same line in ripgrep backend (65a3c69)
- the default context size is now 3 -> 5 (#30) (a12a60b)
- use unique kind icons (git/ripgrep) and allow colorizing them (9f96838)
Bug Fixes
- #2: wrong opts (168aeb5)
- complicated initialization of the toggling feature (61c7dcf)
- correctly use
--ignore-case
(c8f8e4b) - crash when no options are provided (#54) (70a5a17)
- git grep showing wrong part of the match as highlighted (#276) (bdc1e90)
- hide any errors about highlighting (252a44a)
- ignore_paths not working outside of debug mode (#113) (db1fa9c)
- issues with default
rg
command (da81310) - issues with default
rg
command (6b721f2) - make
kind_name
less technical (2c87814) - not providing completions for a project root with spaces (#87) (79fb538)
- prefix_min_len (b657d3b)
- prefix: don't include
-
or_
at the start of the word (#31) (2f00bb0) - random blink crash due to E5560 (fast event context) (1310286)
- support directories with spaces (d46aaf8)
- tests: failing on repeated invocations at existing directories (7d27d6b)
- the doc separator line should be the ~width of the window (b6c7702)
- typecheck error due to new blink.cmp API (ca538d1)
- types: max_filesize should be a string, not a number (#47) (ffff6cc)
- types: update types for get_command and get_prefix (#5) (b27eb5d)
- types: use the correct parameter name (d79688f)
- use .git instead of git directory as the root (17548b7)
- use .git instead of git directory as the root (dcb9ff6)
- use .git instead of git directory as the root (6b0aafd)
Performance Improvements
- assertions don't need to needlessly convert each item to strings (9a04e40)
- avoid blocking the main thread in GitGrepOrRipgrepBackend (af61f99)
- kill previous ripgrep searches when a new search is started (#106) (8df7edd)
- only collect the necessary context preview for each match (#49) (4f1c63e)
- only register each unique match once (#46) (1d57681)
- remove extra map/filter in RgSource:get_completions (#4) (df013b4)
- remove unused context size from ripgrep command (e45cb2c)
- skip processing result words that already exist (#50) (796cc24)
Miscellaneous Chores
- prettier ignores CHANGELOG.md (cb1798d)