-
-
Notifications
You must be signed in to change notification settings - Fork 137
Open
Description
Environment:
- OS: Arch Linux
- Vim (
:version): nvim v0.7.0-dev+920-g7e2ce35e3 - Terminal: GNOME Terminal
When I diff files (e.g. with fugitive.vim), coloring is confusing.
For example, I have a text file
hello world.
hello world.
hello world.
deleted
then change the line deleted with added. When I compare the difference with fugitive.vim, I see this:

Here, the first hello world. line is highlighted green, but is not the added line. This is confusing.
Solution?
This happens because iceberg.vim doesn't have a highlight for diffSubname.
It is defined here and linked to PreProc later in the file.
Then PreProc is highlighted as green in iceberg.vim.
I suppose we can use a different color for diffSubname?
anakimluke
Metadata
Metadata
Assignees
Labels
No labels