[doc] fzf#vim#with_preview does not require any argument

This commit is contained in:
Junegunn Choi
2018-11-27 23:05:43 +09:00
parent ad1833ecbc
commit 95f025ef2d
3 changed files with 3 additions and 3 deletions

View File

@@ -183,7 +183,7 @@ command! -bang Colors
\ call fzf#vim#colors({'left': '15%', 'options': '--reverse --margin 30%,0'}, <bang>0) \ call fzf#vim#colors({'left': '15%', 'options': '--reverse --margin 30%,0'}, <bang>0)
" Augmenting Ag command using fzf#vim#with_preview function " Augmenting Ag command using fzf#vim#with_preview function
" * fzf#vim#with_preview([[options], preview window, [toggle keys...]]) " * fzf#vim#with_preview([[options], [preview window], [toggle keys...]])
" * For syntax-highlighting, Ruby and any of the following tools are required: " * For syntax-highlighting, Ruby and any of the following tools are required:
" - Bat: https://github.com/sharkdp/bat " - Bat: https://github.com/sharkdp/bat
" - Highlight: http://www.andre-simon.de/doku/highlight/en/highlight.php " - Highlight: http://www.andre-simon.de/doku/highlight/en/highlight.php

View File

@@ -74,7 +74,7 @@ function! s:prepend_opts(dict, eopts)
return s:extend_opts(a:dict, a:eopts, 1) return s:extend_opts(a:dict, a:eopts, 1)
endfunction endfunction
" [[options to wrap], preview window expression, [toggle-preview keys...]] " [[options to wrap], [preview window expression], [toggle-preview keys...]]
function! fzf#vim#with_preview(...) function! fzf#vim#with_preview(...)
" Default options " Default options
let options = {} let options = {}

View File

@@ -228,7 +228,7 @@ You can use autoload functions to define your own commands.
\ call fzf#vim#colors({'left': '15%', 'options': '--reverse --margin 30%,0'}, <bang>0) \ call fzf#vim#colors({'left': '15%', 'options': '--reverse --margin 30%,0'}, <bang>0)
" Augmenting Ag command using fzf#vim#with_preview function " Augmenting Ag command using fzf#vim#with_preview function
" * fzf#vim#with_preview([[options], preview window, [toggle keys...]]) " * fzf#vim#with_preview([[options], [preview window], [toggle keys...]])
" * For syntax-highlighting, Ruby and any of the following tools are required: " * For syntax-highlighting, Ruby and any of the following tools are required:
" - Highlight: http://www.andre-simon.de/doku/highlight/en/highlight.php " - Highlight: http://www.andre-simon.de/doku/highlight/en/highlight.php
" - CodeRay: http://coderay.rubychan.de/ " - CodeRay: http://coderay.rubychan.de/