From 60dd81d7d8c3ec0c3be4850948566bc6ac495370 Mon Sep 17 00:00:00 2001 From: Alyssa Ross Date: Fri, 15 Mar 2019 17:32:49 +0000 Subject: [PATCH] Highlight all default Ruby symbols correctly --- rc/base/ruby.kak | 21 +++++++++++++-------- 1 file changed, 13 insertions(+), 8 deletions(-) diff --git a/rc/base/ruby.kak b/rc/base/ruby.kak index 41232d7a3..3e5cfcfa5 100644 --- a/rc/base/ruby.kak +++ b/rc/base/ruby.kak @@ -13,12 +13,14 @@ hook global BufCreate .*(([.](rb))|(irbrc)|(pryrc)|(Brewfile)|(Capfile|[.]cap)|( add-highlighter shared/ruby regions add-highlighter shared/ruby/code default-region group -add-highlighter shared/ruby/double_string region '"' (??@\\])|(\$|@@?)\w+))|((?[=>]?|<((=>?)|<)?|[+\-]@?|\*\*?|===?|[/`%&!^|~]|(\w+[=?!]?)|(\[\]=?)))|([A-Z]\w*|^|\h)\K::(?=[A-Z]) 0:variable + # Commands # ‾‾‾‾‾‾‾‾