-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Description
Problem
Nvim's default unified diff is very sparse.
Expected behavior
unified diff should look nicer, similar to github:
Proposal
- use colorized result from
git diff --color-words="[^[:space:]]|[[:alnum:]]+" - or upstream something to Nvim
- or use code from one of these:
- https://github.com/YouSame2/inlinediff-nvim
- https://github.com/barrettruth/diffs.nvim
- https://github.com/esmuellert/vscode-diff.nvim
- https://github.com/tanvirtin/vgit.nvim
- https://github.com/chrisgrieser/nvim-tinygit
- https://github.com/axkirillov/unified.nvim
- https://github.com/nvim-mini/mini.diff
- "word diff" which is basically a hack that slices two lines into "one character per line" and applies vim.diff to that.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels