diff --git a/rc/ruby.kak b/rc/ruby.kak index f0f0d3fc..ef92b67b 100644 --- a/rc/ruby.kak +++ b/rc/ruby.kak @@ -15,17 +15,17 @@ hook global BufCreate .*(([.](rb))|(irbrc)|(pryrc)|(Capfile|[.]cap)|(Gemfile)|(G # Highlighters # ‾‾‾‾‾‾‾‾‾‾‾‾ -addhl -group / multi_region -default code ruby \ - double_string '"' (?' '\Q<' +addhl -group / multi_region -default code ruby \ + double_string '"' (? < # Regular expression flags are: i → ignore case, m → multi-lines, o → only interpolate #{} blocks once, x → extended mode (ignore white spaces) # Literals are: i → array of symbols, q → string, r → regular expression, s → symbol, w → array of words, x → capture shell result