init
This commit is contained in:
19
micro/syntax/git-rebase-todo.yaml
Normal file
19
micro/syntax/git-rebase-todo.yaml
Normal file
@@ -0,0 +1,19 @@
|
||||
filetype: git-rebase-todo
|
||||
|
||||
detect:
|
||||
filename: "^(.*[\\/])?git\\-rebase\\-todo$"
|
||||
|
||||
rules:
|
||||
# Rebase commands
|
||||
- statement: "^(p(ick)?|r(eword)?|e(dit)?|s(quash)?|f(ixup)?|x|exec|b(reak)?|d(rop)?|l(abel)?|t|reset|m(erge)?)\\b"
|
||||
# Commit IDs
|
||||
- identifier: "\\b([0-9a-fA-F]{7,40})\\b"
|
||||
|
||||
# Color keywords for Github (and others)
|
||||
- type.keyword: "\\b(?i)((fix(es|ed)?|close(s|d)?) #[0-9]+)\\b"
|
||||
|
||||
# Comments
|
||||
- comment.line:
|
||||
start: "^#"
|
||||
end: "$"
|
||||
rules: []
|
||||
Reference in New Issue
Block a user