Skip to content

Commit

Permalink
Fix -fzf-args option example
Browse files Browse the repository at this point in the history
  • Loading branch information
yuki-yano committed Feb 18, 2020
1 parent f30c73b commit 972a160
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ nnoremap <silent> <Leader>b :<C-u>FzfPreviewBuffers -processors=g:fzf_preview_bu
"
" Example: Exclude filename with FzfPreviewProjectGrep
AutoCmd VimEnter * let g:fzf_preview_grep_command_options = fzf_preview#command#get_common_command_options() |
autocmd VimEnter * let g:fzf_preview_grep_command_options = fzf_preview#command#get_common_command_options() |
\ let g:fzf_preview_grep_command_options = g:fzf_preview_grep_command_options . ' --nth=3'
nnoremap <Leader>g :<C-u>FzfPreviewProjectGrep -fzf-args=g:fzf_preview_grep_command_options<Space>
```
Expand Down
2 changes: 1 addition & 1 deletion doc/fzf_preview_vim.txt
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ EXPERIMENTAL: Specifications may change.

Usage example: Exclude filename with FzfPreviewProjectGrep
>
AutoCmd VimEnter * let g:fzf_preview_grep_command_options = fzf_preview#command#get_common_command_options() |
autocmd VimEnter * let g:fzf_preview_grep_command_options = fzf_preview#command#get_common_command_options() |
\ let g:fzf_preview_grep_command_options = g:fzf_preview_grep_command_options . ' --nth=3'
nnoremap <Leader>g :<C-u>FzfPreviewProjectGrep -fzf-args=g:fzf_preview_grep_command_options<Space>
<
Expand Down

0 comments on commit 972a160

Please sign in to comment.