1
0
mirror of https://github.com/cmur2/joe-syntax.git synced 2024-12-22 02:54:23 +01:00

Some experiments with yaml.jsf

This commit is contained in:
Christian Nicolai 2011-08-01 00:48:52 +02:00
parent 293ea4995c
commit 3503381f40

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