Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Use gitsigns.nvim to display inline diffs #267

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

sindrets
Copy link
Owner

@sindrets sindrets commented Dec 7, 2022

Resolves #39.

Requires: lewis6991/gitsigns.nvim#683

This is an experiment that utilizes gitsigns.nvim to display inline diffs in single window layouts.

2022-12-07-141143_maim

@louwers
Copy link

louwers commented Mar 15, 2023

What settings are needed to try it out?

@sindrets
Copy link
Owner Author

@louwers in its current state, this PR is not usable. Buffers flicker when you open entries, the diff highlighting is not always correctly applied unless the buffer is focused, and some unknown condition sometimes causes gitsigns to loose track of the hunks in the buffer, and I haven't really looked into it yet.

@dudicoco
Copy link

dudicoco commented Apr 5, 2024

Hi @sindrets, any updates on this feature? I see that lewis6991/gitsigns.nvim#683 has been merged.

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.

[feature] option for unified- / inline-diff
3 participants