From 6bea2b0dee6a0724561961131429d44ab4e0fb4e Mon Sep 17 00:00:00 2001 From: Christian Nicolai Date: Sun, 18 Sep 2011 23:40:34 +0200 Subject: [PATCH] Ruby: no-keyword detection for e.g. .nil? or .private or .class --- ruby.jsf | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/ruby.jsf b/ruby.jsf index 818857e..f0ff3f8 100644 --- a/ruby.jsf +++ b/ruby.jsf @@ -38,6 +38,7 @@ "{}" brace recolor=-1 "0" first_digit recolor=-1 "1-9" decimal recolor=-1 + "." ident_no_kw "\"" string recolor=-1 "'" char recolor=-1 "`" backtick recolor=-1 @@ -331,6 +332,10 @@ done * backtick noeat "0-7" backtick +:ident_no_kw Idle + * after_term noeat + "a-zA-Z0-9_?!" ident_no_kw + :ident Idle * after_term noeat strings "BEGIN" kw