mirror of
https://github.com/rwinkhart/go-highlite.git
synced 2026-09-03 15:47:14 -04:00
Many optimizations and new syntax files
This commit is contained in:
@@ -4,26 +4,24 @@ detect:
|
||||
filename: "git-rebase-todo"
|
||||
|
||||
rules:
|
||||
# Default
|
||||
- ignore: ".*"
|
||||
# Comments
|
||||
- comment:
|
||||
start: "#"
|
||||
end: "$"
|
||||
rules: []
|
||||
# Rebase commands
|
||||
- keyword: "^(e|edit) [0-9a-f]{7,40}"
|
||||
- keyword: "^# (e, edit)"
|
||||
- keyword: "^(f|fixup) [0-9a-f]{7,40}"
|
||||
- keyword: "^# (f, fixup)"
|
||||
- keyword: "^(p|pick) [0-9a-f]{7,40}"
|
||||
- keyword: "^# (p, pick)"
|
||||
- keyword: "^(r|reword) [0-9a-f]{7,40}"
|
||||
- keyword: "^# (r, reword)"
|
||||
- keyword: "^(s|squash) [0-9a-f]{7,40}"
|
||||
- keyword: "^# (s, squash)"
|
||||
- keyword: "^(x|exec) [^ ]+ [0-9a-f]{7,40}"
|
||||
- keyword: "^# (x, exec)"
|
||||
- statement: "^(e|edit) [0-9a-f]{7,40}"
|
||||
- statement: "^# (e, edit)"
|
||||
- statement: "^(f|fixup) [0-9a-f]{7,40}"
|
||||
- statement: "^# (f, fixup)"
|
||||
- statement: "^(p|pick) [0-9a-f]{7,40}"
|
||||
- statement: "^# (p, pick)"
|
||||
- statement: "^(r|reword) [0-9a-f]{7,40}"
|
||||
- statement: "^# (r, reword)"
|
||||
- statement: "^(s|squash) [0-9a-f]{7,40}"
|
||||
- statement: "^# (s, squash)"
|
||||
- statement: "^(x|exec) [^ ]+ [0-9a-f]{7,40}"
|
||||
- statement: "^# (x, exec)"
|
||||
# Recolor hash symbols
|
||||
- special: "#"
|
||||
# Commit IDs
|
||||
|
||||
Reference in New Issue
Block a user