diff options
| author | Maxime Coste <mawww@kakoune.org> | 2020-07-21 19:56:43 +1000 |
|---|---|---|
| committer | Maxime Coste <mawww@kakoune.org> | 2020-07-21 19:56:43 +1000 |
| commit | 2df6a572012ba99de730816c698a4a3f67f17eac (patch) | |
| tree | 2fa273de55680268262fb40ac98ba7b5b1270094 | |
| parent | c3fea223996c64e0ad9a5b0ffd060895212fa58d (diff) | |
| parent | 002e0f87909aa537166f210c32b5673587c192c9 (diff) | |
Merge remote-tracking branch 'alexherbo2/ruby'
| -rw-r--r-- | rc/filetype/ruby.kak | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rc/filetype/ruby.kak b/rc/filetype/ruby.kak index 3632d14e..2be1291a 100644 --- a/rc/filetype/ruby.kak +++ b/rc/filetype/ruby.kak @@ -53,7 +53,7 @@ add-highlighter shared/ruby/ region -recurse \{ '%[iqrswxIQRSWX]?\{ add-highlighter shared/ruby/ region -recurse \[ '%[iqrswxIQRSWX]?\[' \] fill meta add-highlighter shared/ruby/ region -recurse < '%[iqrswxIQRSWX]?<' > fill meta add-highlighter shared/ruby/heredoc region '<<[-~]?(?!self)(\w+)' '^\h*(\w+)$' fill string -add-highlighter shared/ruby/division region '[\w\)\]](/|(\h+/\h+))' '\w' group # Help Kakoune to better detect /…/ literals +add-highlighter shared/ruby/division region '[\w\)\]]\K(/|(\h+/\h+))' '\w' group # Help Kakoune to better detect /…/ literals # 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 |
