smjonas/live-command.nvim

G with norm! + inserting something causes it to show the result wrong

otavioschwanck opened this issue · 1 comments

If i have this:

testing
testing
testing

and try to:

G/testing/norm! ^cwname

The preview result is:

image

Hey, actually using the default diff viewer, those are the expected highlights (although I agree they aren't the most intuitive ones). To change testing into name:

  • delete testi => ng
  • change g into ame