feat: highlight commit while committing #109
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/diffs.nvim#109
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
Prerequisites
Problem
The plugin works great when I browse through past commits, but when I run
git commit --verbose, I'm left with the defaults, though the content of the buffer is pretty much the same.There is a treesitter grammar for diffs, but it only makes the default a bit more fancy, doesn't try to use the highlighting of the original language
Compare:




In
:Gstatus overviewIn
G commit(with mentioned diff grammar):In
G commit(without the diff grammar):In the commit view after committing (yes, looks exactly the same as in status overview):
Proposed solution
Use the same highlighting rules for commit windows
Alternatives considered
No response