diffview.nvim icon indicating copy to clipboard operation
diffview.nvim copied to clipboard

feat: Use gitsigns.nvim to display inline diffs

Open sindrets opened this issue 3 years ago • 3 comments

Resolves #39.

Requires: https://github.com/lewis6991/gitsigns.nvim/pull/683

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

2022-12-07-141143_maim

sindrets avatar Dec 07 '22 13:12 sindrets

What settings are needed to try it out?

louwers avatar Mar 15 '23 22:03 louwers

@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.

sindrets avatar Mar 16 '23 09:03 sindrets

Hi @sindrets, any updates on this feature? I see that https://github.com/lewis6991/gitsigns.nvim/pull/683 has been merged.

dudicoco avatar Apr 05 '24 18:04 dudicoco