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

Fixed brace support for ruby

This commit is contained in:
Christian Nicolai 2011-08-01 10:38:51 +02:00
parent fda50c3968
commit fa890e5f6a

View File

@ -34,6 +34,7 @@
* rest * rest
"#" line_comment_i recolor=-1 "#" line_comment_i recolor=-1
"\n" idle "\n" idle
"{[]}" brace recolor=-1
"0" first_digit recolor=-1 "0" first_digit recolor=-1
"1-9" decimal recolor=-1 "1-9" decimal recolor=-1
"." maybe_float "." maybe_float
@ -45,7 +46,6 @@
"$" not_string buffer "$" not_string buffer
"%" pstring "%" pstring
"a-zA-Z_" ident buffer "a-zA-Z_" ident buffer
"{[]}" brace recolor=-1
# higher level, ruby specific # higher level, ruby specific
":" maybe_symbol noeat ":" maybe_symbol noeat
@ -56,7 +56,8 @@
:after_term Idle :after_term Idle
* rest noeat * rest noeat
" )]" after_term "{[]}" brace recolor=-1
" )" after_term
"/%" rest "/%" rest
:pod_start Idle :pod_start Idle
@ -158,7 +159,7 @@ done
"\"'`#/" rest "\"'`#/" rest
:brace Brace :brace Brace
* idle noeat * rest noeat
:line_comment Comment :line_comment Comment
* line_comment * line_comment