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

32 lines
1.1 KiB
Plaintext

syntax "pony" "\.pony$"
color statement "\b(type|interface|trait|primitive|class|struct|actor)\b"
color statement "\b(compiler_intrinsic)\b"
color statement "\b(use)\b"
color statement "\b(var|let|embed)\b"
color statement "\b(new|be|fun)\b"
color statement "\b(iso|trn|ref|val|box|tag|consume)\b"
color statement "\b(break|continue|return|error)\b"
color statement "\b(if|then|elseif|else|end|match|where|try|with|as|recover|object|lambda|as|digestof|ifdef)\b"
color statement "\b(while|do|repeat|until|for|in)\b"
color statement "(\?|=>)"
color statement "(\||\&|\,|\^)"
color symbol.operator "(\-|\+|\*|/|\!|%|<<|>>)"
color symbol.operator "(==|!=|<=|>=|<|>)"
color statement "\b(is|isnt|not|and|or|xor)\b"
color type "\b(_*[A-Z][_a-zA-Z0-9\']*)\b"
color constant "\b(this)\b"
color constant "\b(true|false)\b"
color constant.number "\b((0b[0-1_]*)|(0o[0-7_]*)|(0x[0-9a-fA-F_]*)|([0-9_]+(\.[0-9_]+)?((e|E)(\\+|-)?[0-9_]+)?))\b"
color constant.string ""(\\.|[^"])*""
color comment start=""""[^"]*" end="""""
color comment "(^|[[:space:]])//.*"
color comment start="/\*" end="\*/"
color todo "TODO:?"