neoclide/coc-git

vim-repeat failed with coc-git

silencial opened this issue · 1 comments

vim-repeat cannot repeat action with autocmd CursorHold * :CocCommand git.refresh

To reproduce, create mini.vim as below and run nvim -u mini.vim [file]

set runtimepath^=~/.config/nvim/plugged/coc.nvim
set runtimepath^=~/.config/nvim/plugged/vim-repeat
autocmd CursorHold * :CocCommand git.refresh

Press x to delete a char, move to another place, wait for 5 seconds, press . to repeat, nothing happens.
Not sure whether this is a coc-git problem or vim-repeat problem.

Don't use that autocmd, your repeat command woukd be overwrite.