Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
With the upstream changes in vim/vim@124371c the diffAdded group already links to Added now (which transitively maps to DiffAdd from our colorscheme). Instead overwrite the Added highlight group. In the future we should reconsider if we really want diffAdded (used for the diff filetype (e.g. opening a file.diff)) and DiffAdd (used for actual diffing in vim) to have the same color. The latter one is expected to have a very strong highlight (which we currently have for both), but the former might be expected to have a slightly less invasive/aggressive highlight, e.g. compare it with the commit linked above. If we ever modify this, we should make sure that the diffAdded groups keep working (which it does right now due to transitive mapping over Added). In that case it is probably easiest to keep vim's existing default link from diffAdded to Added, then define Added ourself (instead of linking to DiffAdd as we do now), and still keep defining DiffAdd ourself.
- Loading branch information