coc-git icon indicating copy to clipboard operation
coc-git copied to clipboard

Less disturbing git gutter refresh?

Open oblitum opened this issue 4 years ago • 3 comments

This is a feature request to have something similar as in https://github.com/neoclide/coc.nvim/issues/3168.

Currently I have tried to set git.realtimeGutters to false, but it simply disables git gutter updates as a whole. I'm not sure what's the intention of this flag and it's not clear from docs or its name, it should be clarified whether it's for less frequent updates (non realtime), or to allow for manual update. Given that, I have not found a way to toggle update manually except for yet another hack like :CocCommand git.toggleGutters | CocCommand git.toggleGutters.

oblitum avatar Jun 25 '21 14:06 oblitum

It will be refreshed on BufWritePre when realtimeGutters is disabled.

chemzqm avatar Jun 26 '21 06:06 chemzqm

Ah okay, thx for the info on that. It seems though it would still be nice to have something along the lines of https://github.com/neoclide/coc.nvim/issues/3168.

oblitum avatar Jun 26 '21 06:06 oblitum

Currently when jumping placeholder the git signs flicker for some reason:

gif-2021-07-09-110223

oblitum avatar Jul 09 '21 14:07 oblitum