From 21b53a47211ba48582a2624a6e1eac8e2febb86a Mon Sep 17 00:00:00 2001 From: Christian Nicolai Date: Mon, 19 Sep 2011 00:42:28 +0200 Subject: [PATCH] Ruby: fix no-keyword hilite --- ruby.jsf | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/ruby.jsf b/ruby.jsf index f0ff3f8..642d2b6 100644 --- a/ruby.jsf +++ b/ruby.jsf @@ -334,7 +334,13 @@ done :ident_no_kw Idle * after_term noeat - "a-zA-Z0-9_?!" ident_no_kw + "0" first_digit recolor=-1 + "1-9" decimal recolor=-1 + "a-zA-Z_" ident_no_kw1 + +:ident_no_kw1 Idle + * after_term noeat + "a-zA-Z0-9_?!" ident_no_kw1 :ident Idle * after_term noeat strings