coc.nvim icon indicating copy to clipboard operation
coc.nvim copied to clipboard

fix(codeLens): clear whole buffer on resolving

Open fannheyward opened this issue 8 months ago • 1 comments

coc will resolve codeLens onChange/onMove etc, with codeLens in current visible range, then display in virtualText.

If the codeLens.position = top, and outside the current visible, coc won't clear them, and add another line in virtualText.

Clear all on resolving before setting again.

Closes https://github.com/fannheyward/coc-rust-analyzer/issues/1112

fannheyward avatar Nov 20 '23 08:11 fannheyward