nvim-lightbulb icon indicating copy to clipboard operation
nvim-lightbulb copied to clipboard

Cmp's Ghost text is overwritten

Open fgheng opened this issue 2 years ago • 1 comments

I used nvim-cmp as the completetion framework and I opened its experiment feature 'ghost txt', but the bulb overwritten the ghost txt, how to avoid it?

image

ghost txt is like as below image

fgheng avatar May 04 '22 17:05 fgheng

With the current state of the plugin, you could use a different indicator:

  1. sign shows a lightbulb in the sign gutter,
  2. float opens a floating window with the lightbulb in it

Alternatively, I can add support for specifying the virtual text column for the lightbulb (ie. #7, but the branch I was working on is old and behind master). Let me know if so and I can try implementing it whenever I get the time to do so.

kosayoda avatar May 05 '22 12:05 kosayoda

Hello! With the newest release, you can set the position of the virtual text with virtual_text.pos, with something like right_align it should get out of your way most of the time.

kosayoda avatar Jul 08 '23 00:07 kosayoda