diff options
| author | Junegunn Choi <junegunn.c@gmail.com> | 2023-03-10 22:20:57 +0900 |
|---|---|---|
| committer | Junegunn Choi <junegunn.c@gmail.com> | 2023-03-10 22:22:22 +0900 |
| commit | 1116e481bef4f63abe0e506ce20469e244c505e6 (patch) | |
| tree | 1a541c8a53feb46f631b30a0413da9e5839be038 /README-VIM.md | |
| parent | 63cf9d04deab832a3a472b6e4de2db837932d957 (diff) | |
| download | fzf-1116e481bef4f63abe0e506ce20469e244c505e6.tar.gz | |
[vim] Update setqflist example
Without 'lnum', cfdo doesn't work
Close https://github.com/junegunn/fzf.vim/issues/1435
Diffstat (limited to 'README-VIM.md')
| -rw-r--r-- | README-VIM.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/README-VIM.md b/README-VIM.md index aa70d285..9844252a 100644 --- a/README-VIM.md +++ b/README-VIM.md @@ -118,7 +118,7 @@ let g:fzf_action = { " An action can be a reference to a function that processes selected lines function! s:build_quickfix_list(lines) - call setqflist(map(copy(a:lines), '{ "filename": v:val }')) + call setqflist(map(copy(a:lines), '{ "filename": v:val, "lnum": 1 }')) copen cc endfunction |
