micro/runtime/syntax/git-rebase-todo.micro
CaptainMcClellan c29e58e3d4 Syntax Highlight Overhaul (#568)
* Adds new syntax groups and docs
* Large refactor of syntax highlighting files

* Changed keybindings for changing tabs.

* Improved the documentation.

* Added F3 for find to default bindings.

* Massive overhaul of the syntax files

* Phase 1 color-scheme updates.

* The new colorschemes.

* Colorscheme and syntax updates.

* Tiny fix to the cmc theme.

* Another phase of colorschemes and testing gitconfig.

* Fixed haskell error

* Fortran fix

* Delete test.txt

Heh, sorry about forgetting to do this again.
2017-03-01 09:30:35 -05:00

29 lines
774 B
Text

# This syntax format is used for interactive rebasing
syntax "git-rebase-todo" "git-rebase-todo"
# Default
color ignore ".*"
# Comments
color comment "^#.*"
# Rebase commands
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)"
# Recolor hash symbols
color special "#"
# Commit IDs
color identifier "[0-9a-f]{7,40}"