From ef99b6b10c3dd9a7f163b4ba86e39c5814d64c03 Mon Sep 17 00:00:00 2001 From: cn Date: Sat, 31 Mar 2012 20:43:37 +0200 Subject: [PATCH] Ruby: disable mechanism to find |proc_arg| because of buggy site effects It is nearly impossible to detect |proc_arg| and to distinguish it from e.g. a | b | c as an expression - currently the proc_arg hiliter assumes that there are no spaces around the proc_arg which is too narrow. Yesterday I encountered a buggy site effect that |i1| the 1 is hilited like a number... so I should disable this feature which is currently not enabled by default completely. --- ruby.jsf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ruby.jsf b/ruby.jsf index bf53c41..8544877 100644 --- a/ruby.jsf +++ b/ruby.jsf @@ -60,7 +60,7 @@ # higher level, ruby specific ":" maybe_symbol - "|" proc_arg +# "|" proc_arg "@" class_member1 # / / regex not allowed after terms