mirror of
https://github.com/zyedidia/micro.git
synced 2026-03-29 22:27:13 +09:00
Improve new syntax files and fix a region glitch
This commit is contained in:
@@ -1,11 +1,15 @@
|
||||
filetype: git-rebase-todo
|
||||
|
||||
detect:
|
||||
detect:
|
||||
filename: "git-rebase-todo"
|
||||
|
||||
rules:
|
||||
- ignore: ".*"
|
||||
- comment: "^#.*"
|
||||
# Comments
|
||||
- comment:
|
||||
start: "#"
|
||||
end: "$"
|
||||
rules: []
|
||||
# Rebase commands
|
||||
- statement: "^(e|edit) [0-9a-f]{7,40}"
|
||||
- statement: "^# (e, edit)"
|
||||
- statement: "^(f|fixup) [0-9a-f]{7,40}"
|
||||
@@ -18,5 +22,7 @@ rules:
|
||||
- statement: "^# (s, squash)"
|
||||
- statement: "^(x|exec) [^ ]+ [0-9a-f]{7,40}"
|
||||
- statement: "^# (x, exec)"
|
||||
# Recolor hash symbols
|
||||
- special: "#"
|
||||
# Commit IDs
|
||||
- identifier: "[0-9a-f]{7,40}"
|
||||
|
||||
Reference in New Issue
Block a user