From e18d145f9606f27a33d3a8c0b4d6842fd6bb2656 Mon Sep 17 00:00:00 2001 From: Alex Leferry 2 Date: Fri, 16 Sep 2016 11:12:02 +0200 Subject: [PATCH] highlight :: operator --- rc/base/ruby.kak | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rc/base/ruby.kak b/rc/base/ruby.kak index 8790ff0f..c137cf94 100644 --- a/rc/base/ruby.kak +++ b/rc/base/ruby.kak @@ -51,7 +51,7 @@ addhl -group /ruby/comment fill comment addhl -group /ruby/literal fill meta -addhl -group /ruby/code regex \b([A-Za-z]\w*:(?=[^:]))|([$@][A-Za-z]\w*)|((?<=[^:]):[A-Za-z]\w*[=?!]?) 0:identifier +addhl -group /ruby/code regex \b([A-Za-z]\w*:(?=[^:]))|([$@][A-Za-z]\w*)|((?<=[^:]):[A-Za-z]\w*[=?!]?)|([A-Z]\w*|^|\h)\K::(?=[A-Z]) 0:identifier %sh{ # Grammar