mirror of
https://github.com/jremmen/vim-ripgrep.git
synced 2026-01-08 11:27:24 +08:00
add rg_highlight_type to use for result highlighting
This commit is contained in:
parent
ec87af6b69
commit
704c1aabc8
2 changed files with 12 additions and 4 deletions
|
|
@ -1,6 +1,8 @@
|
|||
# vim-ripgrep
|
||||
|
||||
:Rg <string|pattern>
|
||||
```vim
|
||||
:Rg <string|pattern>
|
||||
```
|
||||
|
||||
Word under cursor will be searched if no argument is passed to `Rg`
|
||||
|
||||
|
|
@ -13,6 +15,7 @@ Word under cursor will be searched if no argument is passed to `Rg`
|
|||
| g:rg_format | %f:%l:%c:%m | value of grepformat
|
||||
| g:rg_command | g:rg_binary --vimgrep | search command
|
||||
| g:rg_highlight | false | true if you want matches highlighted
|
||||
| g:rg_highlight_type | identifier | if `rg_highlight` is set, use this syntax color to highlight the result
|
||||
| g:rg_derive_root | false | true if you want to find project root from cwd
|
||||
| g:rg_root_types | ['.git'] | list of files/dir found in project root
|
||||
| g:rg_window_location | botright | quickfix window location
|
||||
|
|
@ -21,4 +24,6 @@ Word under cursor will be searched if no argument is passed to `Rg`
|
|||
|
||||
Show root search dir
|
||||
|
||||
:RgRoot
|
||||
```vim
|
||||
:RgRoot
|
||||
```
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue