neoclide / coc-git

Git integration of coc.nvim

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

vim-repeat failed with coc-git

silencial opened this issue · 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.