diff --git a/README.md b/README.md index c6cab57..6e2faf0 100644 --- a/README.md +++ b/README.md @@ -183,7 +183,7 @@ command! -bang Colors \ call fzf#vim#colors({'left': '15%', 'options': '--reverse --margin 30%,0'}, 0) " 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: " - Bat: https://github.com/sharkdp/bat " - Highlight: http://www.andre-simon.de/doku/highlight/en/highlight.php diff --git a/autoload/fzf/vim.vim b/autoload/fzf/vim.vim index cd8703d..22ca98d 100644 --- a/autoload/fzf/vim.vim +++ b/autoload/fzf/vim.vim @@ -74,7 +74,7 @@ function! s:prepend_opts(dict, eopts) return s:extend_opts(a:dict, a:eopts, 1) endfunction -" [[options to wrap], preview window expression, [toggle-preview keys...]] +" [[options to wrap], [preview window expression], [toggle-preview keys...]] function! fzf#vim#with_preview(...) " Default options let options = {} diff --git a/doc/fzf-vim.txt b/doc/fzf-vim.txt index 205dd2c..457e8a4 100644 --- a/doc/fzf-vim.txt +++ b/doc/fzf-vim.txt @@ -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'}, 0) " 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: " - Highlight: http://www.andre-simon.de/doku/highlight/en/highlight.php " - CodeRay: http://coderay.rubychan.de/