todo-comments.nvim icon indicating copy to clipboard operation
todo-comments.nvim copied to clipboard

[Bug] Error executing lua callback: Keyboard interrupt

Open chriztheanvill opened this issue 4 years ago • 5 comments

Hi. If I press O to enter a new line, then Ctrl + c, shows me this message.

image

chriztheanvill avatar Oct 26 '21 11:10 chriztheanvill

Why do you believe this is due to todo-comments?

folke avatar Oct 26 '21 13:10 folke

Why do you believe this is due to todo-comments?

Because I disabled all plugins, and just leave this, and this provoques.

chriztheanvill avatar Oct 26 '21 13:10 chriztheanvill

thanks, I'll look into it!

folke avatar Oct 26 '21 14:10 folke

Just to chime in with some information, I get this as well when ctrl+c'ing on a new line, but with the following details:

image

litewarp avatar Nov 17 '21 05:11 litewarp

So I think this is a neovim issue -- see neovim/neovim#16416

Apparently the solution is to use the following workaround:

inoremap <C-c> <Esc>

litewarp avatar Nov 30 '21 05:11 litewarp