Many optimizations and new syntax files

This commit is contained in:
Zachary Yedidia
2017-03-26 19:14:03 -04:00
parent 56f3992cdb
commit 084c2be66c
103 changed files with 2079 additions and 342 deletions
+12 -14
View File
@@ -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