Skip to content

How can I bind coc function from within my own function (used for insert mode) #3629

Answered by chemzqm
reteehee asked this question in Q&A
Discussion options

You must be logged in to vote
function! coc#refresh() abort
  return "\<c-r>=coc#start()\<CR>"
endfunction

You should return the expression the same as coc#refresh()

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Answer selected by chemzqm
Comment options

You must be logged in to vote
1 reply
@chemzqm
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants