1
1
mirror of https://github.com/mawww/kakoune.git synced 2024-11-29 01:24:52 +03:00

Merge remote-tracking branch 'alyssais/patch-1'

This commit is contained in:
Maxime Coste 2018-03-24 08:17:41 +11:00
commit 3fe93db610

View File

@ -22,7 +22,7 @@ add-highlighter shared/ regions -default code -match-capture ruby \
literal '%[iqrswxIQRSWX]\{' \} \{ \
literal '%[iqrswxIQRSWX]\[' \] \[ \
literal '%[iqrswxIQRSWX]<' > < \
heredoc '<<-?(\w+)' '^\h*(\w+)$' '' \
heredoc '<<[-~]?(\w+)' '^\h*(\w+)$' '' \
division '[\w\)\]](/|(\h+/\h+))' '\w' '' # 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)