copilot-cmp icon indicating copy to clipboard operation
copilot-cmp copied to clipboard

Duplicate text after insertion

Open GuillaumeAllain opened this issue 2 years ago • 0 comments

I have a slight issue that I've only been able to track to this plugin, however it might still be in my cmp config.

For example if I have

import numpy
numpy.array(|)

The cursor being the | character, the copilot suggestion is numpy.array([1, 2, 3]), however when I insert this suggestion, I obtain:

import numpy
bumpy.array([1, 2, 3]))

It duplicates the closing parentheses, this is both with Insert and Replace behaviour in cmp.

GuillaumeAllain avatar Sep 01 '22 15:09 GuillaumeAllain