micro/runtime/syntax/yaml.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

16 lines
673 B
Text

syntax "yaml" "\.ya?ml$"
header "%YAML"
color type "(^| )!!(binary|bool|float|int|map|null|omap|seq|set|str) "
color constant.bool.true "\b(YES|yes|Y|y|ON|on)\b"
color constant.bool.false "\b(NO|no|N|n|OFF|off)\b"
color constant.bool.true "\b(true)\b"
color constant.bool.false "\b(false)\b"
color statement ":[[:space:]]" "\[" "\]" ":[[:space:]]+[|>]" "^[[:space:]]*- "
color identifier "[[:space:]][\*&][A-Za-z0-9]+"
color type "([-\w\.\/]+[[:space:]]*:\s+)|([-\w\.\/]+[[:space:]]*:$)"
color constant.string ""(\\.|[^"])*"|'(\\.|[^'])*'"
color comment "(^|[[:space:]])#([^{].*)?$"
color special "^---" "^\.\.\." "^%YAML" "^%TAG"
color indent-char.whitespace " $"