Skip to content
This repository was archived by the owner on Oct 13, 2021. It is now read-only.

Commit 6184306

Browse files
committed
doc: update vim document
1 parent 30eef3b commit 6184306

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

doc/completion-nvim.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -217,8 +217,8 @@ g:completion_chain_complete_list *g:completion_chain_complete_list*
217217
insert mode. For example, using <c-j> to switch to previous sources
218218
and <c-k> to switch to next sources:
219219
>
220-
imap <c-j> <cmd>lua require'source'.prevCompletion()<CR>
221-
imap <c-k> <cmd>lua require'source'.nextCompletion()<CR>
220+
imap <c-j> <Plug>(completion_next_source)
221+
imap <c-k> <Plug>(completion_prev_source)
222222
<
223223
Customizing your completion sources is easy. For non ins-complete
224224
items, you can choose to put them in the same source or separate them.

0 commit comments

Comments
 (0)