diff --git a/doc/fzf-vim.txt b/doc/fzf-vim.txt index 11ffd4d..6b53a37 100644 --- a/doc/fzf-vim.txt +++ b/doc/fzf-vim.txt @@ -327,7 +327,7 @@ a "fuzzy finder". - Also note that we enabled previewer with `fzf#vim#with_preview`. > function! RipgrepFzf(query, fullscreen) - let command_fmt = 'rg --column --line-number --no-heading --color=always --smart-case %s || true' + let command_fmt = 'rg --column --line-number --no-heading --color=always --smart-case -- %s || true' let initial_command = printf(command_fmt, shellescape(a:query)) let reload_command = printf(command_fmt, '{q}') let spec = {'options': ['--phony', '--query', a:query, '--bind', 'change:reload:'.reload_command]}