Some experiments with yaml.jsf

This commit is contained in:
Christian Nicolai 2011-08-01 00:48:52 +02:00
parent 293ea4995c
commit 3503381f40
1 changed files with 27 additions and 1 deletions

View File

@ -2,12 +2,38 @@
=Idle =Idle
=Comment green =Comment green
=BlockDelim bold
=Bad bold red =Bad bold red
:idle Idle :idle Idle
* idle * idle
"#" line_comment recolor=-1 "#" line_comment recolor=-1
"\t" tab_indent
"-" maybe_block1
"\n" line_start
:line_comment Comment :line_comment Comment
* line_comment * line_comment
"\n" idle "\n" idle noeat
:line_start Idle
* idle noeat #dont eat might be the next \n
"#" line_comment recolor=-1
"\t" tab_indent
"-" maybe_block1
# mark whole line as Bad
:tab_indent Bad
* tab_indent
"\n" idle noeat
:maybe_block1 Idle
* idle noeat #dont eat might be the next \n
"-" maybe_block2
:maybe_block2 Idle
* idle noeat #dont eat might be the next \n
"-" block recolor=-3
:block BlockDelim
* idle noeat #dont eat might be the next \n