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

Virtual text jumps around

Open adambasis opened this issue 2 years ago • 3 comments

Hey 👋 Love the plugin, it's great!

When the nvim-cmp menu is not there: image When it is there: image

The hint is below the cursor, once the cmp menu pops up, it jump up to the same line as the cursor. Can I make it always stay one line above the cursor?

Thank you.

adambasis avatar Feb 08 '23 21:02 adambasis

This would be a feature that when floating windows is false, allow virtual text to be at the same line.

ray-x avatar Feb 08 '23 22:02 ray-x

Yeah 👍

Also, is the described behaviour intended? I think, It'd be fine with it staying at the cursor line, as long as it doesn't get annoying while typing or something like that.

adambasis avatar Feb 08 '23 23:02 adambasis

the code was designed in assuming that floating windows will show. So the virtual text should avoid floating area. Also it does avoid the lines if they are too packed/long. I normally use floating windows so not a big issue for me. But I need to re-think this by disabling floating window.

ray-x avatar Feb 09 '23 01:02 ray-x