supermaven-inc / supermaven-nvim

The official Neovim plugin for Supermaven
https://supermaven.com/
MIT License
279 stars 16 forks source link

When displaying the line suggestion after modification, can we make it easier to tell the diff? #66

Open hboon opened 1 week ago

hboon commented 1 week ago

Example, in this screenshot, the result after the change is accepted is previewed as ghost text. I really just want it to wrap the variable data with: "JSON.stringify()" (which it does, correctly), but I can't tell at a quick glance it's doing it correctly without scanning both lines of text and mentally diffing. This is a simple example, but the line of code affected might be much more complicated. Can the additions/diff be highlighted somehow?

Screenshot 2024-06-24 at 11 01 46 AM