Skip to content

Conversation

tea06194
Copy link

@tea06194 tea06194 commented Jul 6, 2025

Hello!

In my opinion, your plugin is the best available for Git graph visualization in Neovim.
However, I ran into an issue when trying to render a very wide graph.

Because of the graph's width, the commit messages are pushed far to the right, making them hard to read — especially since the graph itself disappears off the left side of the screen when scrolling horizontally (see attachment).

I came up with a solution that works well for me, and I believe it’s a reasonable approach to this problem.

I'm not very experienced with the Neovim API or Lua, so I relied heavily on an AI assistant to write this code. There are probably things that can be improved, or maybe you could just treat this as a rough draft for inspiration if you find the approach useful.

Also, just a heads-up — I probably won't be able to provide timely support for this functionality in the near future, but I hope to be able to do so later on.

screenshots

swappy-20250706_195332
swappy-20250706_195419
swappy-20250706_195650

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant