junegunn / fzf.vim

fzf :heart: vim
MIT License
9.52k stars 582 forks source link

docs: fix regex searches with shellescape for the query #1462

Closed alexandervantrijffel closed 1 year ago

alexandervantrijffel commented 1 year ago

Fix regex regex searches in the example for Advanced ripgrep integration. Without this, regex searches are not functioning.

junegunn commented 1 year ago

regex searches

Such as?

When options entry is given as an array like this, fzf "shell-escape"s each of them automatically, so no manual shellescape is required. https://github.com/junegunn/fzf/blob/1116e481bef4f63abe0e506ce20469e244c505e6/plugin/fzf.vim#L374-L377

alexandervantrijffel commented 1 year ago

apologies, I got something mixed up. Your example is perfectly fine!