2016-04-18 21:40:07 +03:00
|
|
|
# This syntax format is used for interactive rebasing
|
|
|
|
syntax "git-rebase-todo" "git-rebase-todo"
|
|
|
|
|
|
|
|
# Default
|
|
|
|
color ignore ".*"
|
|
|
|
|
|
|
|
# Comments
|
|
|
|
color comment "^#.*"
|
|
|
|
|
|
|
|
# Rebase commands
|
2017-03-01 17:30:35 +03:00
|
|
|
color statement "^(e|edit) [0-9a-f]{7,40}"
|
|
|
|
color statement "^# (e, edit)"
|
|
|
|
color statement "^(f|fixup) [0-9a-f]{7,40}"
|
|
|
|
color statement "^# (f, fixup)"
|
|
|
|
color statement "^(p|pick) [0-9a-f]{7,40}"
|
|
|
|
color statement "^# (p, pick)"
|
|
|
|
color statement "^(r|reword) [0-9a-f]{7,40}"
|
|
|
|
color statement "^# (r, reword)"
|
|
|
|
color statement "^(s|squash) [0-9a-f]{7,40}"
|
|
|
|
color statement "^# (s, squash)"
|
|
|
|
color statement "^(x|exec) [^ ]+ [0-9a-f]{7,40}"
|
|
|
|
color statement "^# (x, exec)"
|
2016-04-18 21:40:07 +03:00
|
|
|
|
|
|
|
# Recolor hash symbols
|
|
|
|
color special "#"
|
|
|
|
|
|
|
|
# Commit IDs
|
|
|
|
color identifier "[0-9a-f]{7,40}"
|