mirror of
https://github.com/zyedidia/micro.git
synced 2026-03-30 06:37:14 +09:00
Merge pull request #1327 from Osmose/git-commit-diff
Fix #1314: Add support for diffs from `git commit --verbose`.
This commit is contained in:
@@ -23,3 +23,14 @@ rules:
|
|||||||
start: "^#"
|
start: "^#"
|
||||||
end: "$"
|
end: "$"
|
||||||
rules: []
|
rules: []
|
||||||
|
|
||||||
|
# Diffs (i.e. git commit --verbose)
|
||||||
|
- default:
|
||||||
|
start: "^diff"
|
||||||
|
# Diff output puts a space before file contents on each line so this
|
||||||
|
# should never match valid diff output and extend highlighting to the
|
||||||
|
# end of the file
|
||||||
|
end: "^ENDOFFILE"
|
||||||
|
limit-group: "magenta"
|
||||||
|
rules:
|
||||||
|
- include: "patch"
|
||||||
|
|||||||
Reference in New Issue
Block a user