Diff
1diff --git a/plugins/ripgrep/README.md b/plugins/ripgrep/README.md
2index a26f458230c2076ea6eefb736a91b27e0cc508c1..ab9d041166656cc94500e0d622d595073d47584d 100644
3--- a/plugins/ripgrep/README.md
4+++ b/plugins/ripgrep/README.md
5@@ -7,7 +7,3 @@ To use it, add `ripgrep` to the plugins array in your zshrc file:
6 ```zsh
7 plugins=(... ripgrep)
8 ```
9-
10-Completion is taken from the ripgrep release [`12.1.1`](https://github.com/BurntSushi/ripgrep/releases/tag/12.1.1).
11-
12-Updated on April 1st, 2021.
13diff --git a/plugins/ripgrep/_ripgrep b/plugins/ripgrep/_ripgrep
14index 828a6e601dc1e080968d289d33651b8788f42ff2..31bc697c7601a1ea1de4bb4fd8755b4cdfc98357 100644
15--- a/plugins/ripgrep/_ripgrep
16+++ b/plugins/ripgrep/_ripgrep
17@@ -121,7 +121,7 @@ _rg() {
18 "(pretty-vimgrep)--no-heading[don't show matches grouped by file name]"
19
20 + '(hidden)' # Hidden-file options
21- '--hidden[search hidden files and directories]'
22+ {-.,--hidden}'[search hidden files and directories]'
23 $no"--no-hidden[don't search hidden files and directories]"
24
25 + '(hybrid)' # hybrid regex options
26@@ -303,6 +303,8 @@ _rg() {
27 '--context-separator=[specify string used to separate non-continuous context lines in output]:separator'
28 $no"--no-context-separator[don't print context separators]"
29 '--debug[show debug messages]'
30+ '--field-context-separator[set string to delimit fields in context lines]'
31+ '--field-match-separator[set string to delimit fields in matching lines]'
32 '--trace[show more verbose debug messages]'
33 '--dfa-size-limit=[specify upper size limit of generated DFA]:DFA size (bytes)'
34 "(1 stats)--files[show each file that would be searched (but don't search)]"