From 88cf7a216c16be6607f3da3353fcc19845d262e1 Mon Sep 17 00:00:00 2001 From: Alex Leferry 2 Date: Sat, 27 Feb 2016 17:53:16 +0100 Subject: [PATCH] Fix highlighting of single letter identifiers --- 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 27e4921d..2e9cd15b 100644 --- a/rc/base/ruby.kak +++ b/rc/base/ruby.kak @@ -50,7 +50,7 @@ addhl -group /ruby/comment fill comment addhl -group /ruby/literal fill meta -addhl -group /ruby/code regex \<([A-Za-z]\w+:)|([$@][A-Za-z]\w+)|(\W\K:[A-Za-z]\w+[=?!]?) 0:identifier +addhl -group /ruby/code regex \<([A-Za-z]\w*:)|([$@][A-Za-z]\w*)|(\W\K:[A-Za-z]\w*[=?!]?) 0:identifier addhl -group /ruby/code regex \<(require|include)\> 0:meta addhl -group /ruby/code regex \<(attr_(reader|writer|accessor))\> 0:attribute