Files
zyedidia.micro/runtime/syntax/peg.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

13 lines
442 B
Plaintext

syntax "peg" "\.l?peg$"
color identifier "^[[:space:]]*[A-Za-z][A-Za-z0-9_]*[[:space:]]*<-"
color constant.number "\^[+-]?[0-9]+"
color symbol.operator "[-+*?^/!&]|->|<-|=>"
color identifier.var "%[A-Za-z][A-Za-z0-9_]*"
color special "\[[^]]*\]"
color constant.string ""(\\.|[^"])*"|'(\\.|[^'])*'"
color comment "(^|[[:space:]])\-\-.*$"
color todo "TODO:?"
color indent-char.whitespace "[[:space:]]+$"
color indent-char " + +| + +"