Skip to content

Commit

Permalink
docs: improve some phrasing
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisgrieser authored Aug 30, 2024
1 parent 76e62c5 commit c857fe0
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,11 +62,12 @@ interface and contemporary regex syntax.
**Requirements**
- [ripgrep](https://github.com/BurntSushi/ripgrep) with `pcre2` support
+ `brew install ripgrep` (already includes `pcre2` by default)
+ `cargo install ripgrep --features "pcre2"`
+ You can also use this plugin without `pcre2` by setting
`regexOptions.pcre2 = false` in the config
+ `cargo install ripgrep --features pcre2`
- Alternatively, you can also use this plugin without `pcre2` by setting
`regexOptions.pcre2 = false` in the config. However, you will then miss
some features like lookaheads.
- nvim >= 0.10
- `:TSInstall regex` (only needed for syntax highlighting)
- optional: `:TSInstall regex` (adds syntax highlighting)

```lua
-- lazy.nvim
Expand Down

0 comments on commit c857fe0

Please sign in to comment.