mirror of
https://github.com/zyedidia/micro
synced 2024-11-05 17:41:24 +00:00
Fix #1314: Add support for diffs from git commit --verbose
.
This commit is contained in:
parent
2c219ba647
commit
a189d08c30
1 changed files with 11 additions and 0 deletions
|
@ -23,3 +23,14 @@ rules:
|
|||
start: "^#"
|
||||
end: "$"
|
||||
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"
|
||||
|
|
Loading…
Reference in a new issue