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

Improved yaml.jsf

This commit is contained in:
Christian Nicolai 2011-08-02 12:29:30 +02:00
parent c12712df6c
commit 63a431bc13

View File

@ -1,17 +1,18 @@
# JOE syntax highlight file for YAML # JOE syntax highlight file for YAML
=Idle =Idle
=Comment green =Comment green
=Constant cyan =Constant cyan
=Escape bold cyan =Escape bold cyan
=Keyword bold =Type bold
=Bad bold red =Keyword bold
=Bad bold red
=Brace magenta
=Brace magenta =Directive red
=BlockDelim bold blue =Reference yellow
=Reference yellow =LocalType fg_310 # brown
=LocalDatatype fg_310 # brown =BlockDelim bold blue
=Directive red
:idle Idle :idle Idle
* idle * idle
@ -90,26 +91,26 @@
* idle noeat * idle noeat
"a-zA-Z0-9_" reference "a-zA-Z0-9_" reference
:maybe_datacast Idle :maybe_typecast Idle
* idle noeat * idle noeat
"a-zA-Z_" local_datatype recolor=-1 "a-zA-Z_" local_type recolor=-1
"!" builtin_datatype1 "!" builtin_type1
:builtin_datatype1 Idle :builtin_type1 Idle
* idle noeat * idle noeat
"a-zA-Z" builtin_datatype buffer "a-zA-Z" builtin_type buffer
:builtin_datatype Idle :builtin_type Idle
* idle noeat strings * idle noeat strings
"str" dt "str" type
"float" dt "float" type
"binary" dt "binary" type
done done
"a-zA-Z_" builtin_datatype "a-zA-Z_" builtin_type
:dt Keyword :type Type
* idle noeat * idle noeat
:local_datatype LocalDatatype :local_type LocalType
* idle noeat * idle noeat
"a-zA-Z_" local_datatype "a-zA-Z_" local_type