fix: add Added and Removed highlights #57
No reviewers
Labels
No labels
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
barrettruth/midnight.nvim!57
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "fix/added-removed-groups"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Problem
midnight.nvim did not define Neovim's standard
AddedandRemovedhighlight groups, so diff sign/text aliases had to carry their own foreground colors or inherit from background diff groups.Solution
Define
AddedandRemovedas regular foreground-only green/red groups, link diff syntax aliases to them, and leaveDiffAdd/DiffDeleteas background-bearing diff groups.Verification
nix develop --command just ciAdded/Removedforegrounds and diff alias links