mirror of
https://github.com/mfontanini/presenterm.git
synced 2026-09-01 23:33:21 -06:00
fix: correct Vim fzf reducer function in documentation
The reducer should return the whole line as-is since each line is already a complete comment command.
This commit is contained in:
parent
8a0b61aac1
commit
cb4e6aec5d
@ -211,7 +211,7 @@ if executable('presenterm') && executable('fzf')
|
||||
inoremap <expr> <c-k> fzf#vim#complete(fzf#wrap({
|
||||
\ 'source': 'presenterm --list-comment-commands',
|
||||
\ 'options': '--header "Comment Command Selection" --no-hscroll',
|
||||
\ 'reducer': { lines -> split(lines[0])[0] } }))
|
||||
\ 'reducer': { lines -> lines[0] } }))
|
||||
endif
|
||||
```
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user