live-command.nvim icon indicating copy to clipboard operation
live-command.nvim copied to clipboard

Issue when normal command does not match

Open AckslD opened this issue 3 years ago • 3 comments

Really cool plugin! I started taking it for a spin and one issue I noticed is that the preview is not correct if some line does not contain a match for eg f.

For example lets say you have the buffer:

foo
bar

and you type :%Norm foix. Then before pressing <CR> the preview looks like:

fxoo
xbar

whereas after pressing <CR> you actually get:

fxoo
bar

AckslD avatar Aug 15 '22 17:08 AckslD

Really cool plugin!

Thanks <3

I just noticed this should now also be fixed on main (it is for me) :) Let me know if that's not the case!

smjonas avatar Aug 15 '22 18:08 smjonas

It now seems to only preview the first line, eg if the buffer instead is

foo
bar
foo

then the preview from the same command is

fxoo
bar
foo

instead of

fxoo
bar
fxoo

AckslD avatar Aug 15 '22 18:08 AckslD

This looks like an upstream issue. I have reported it here: https://github.com/neovim/neovim/issues/19807

smjonas avatar Aug 16 '22 20:08 smjonas