fix nested literals highlighting
This commit is contained in:
parent
9952704eaf
commit
1356e9cb6b
|
@ -22,10 +22,10 @@ addhl -group / multi_region -default code ruby \
|
||||||
regex '/' (?<!\\)(\\\\)*/[imox]* '' \
|
regex '/' (?<!\\)(\\\\)*/[imox]* '' \
|
||||||
comment '#' '$' '' \
|
comment '#' '$' '' \
|
||||||
comment ^begin= ^=end '' \
|
comment ^begin= ^=end '' \
|
||||||
literal '%[iqrswxIQRSWX]\Q(' '\Q)' '' \
|
literal '%[iqrswxIQRSWX]\Q(' '\Q)' '\Q(' \
|
||||||
literal '%[iqrswxIQRSWX]\Q{' '\Q}' '' \
|
literal '%[iqrswxIQRSWX]\Q{' '\Q}' '\Q{' \
|
||||||
literal '%[iqrswxIQRSWX]\Q[' '\Q]' '' \
|
literal '%[iqrswxIQRSWX]\Q[' '\Q]' '\Q[' \
|
||||||
literal '%[iqrswxIQRSWX]\Q<' '\Q>' ''
|
literal '%[iqrswxIQRSWX]\Q<' '\Q>' '\Q<'
|
||||||
|
|
||||||
# Regular expression flags are: i → ignore case, m → multi-lines, o → only interpolate #{} blocks once, x → extended mode (ignore white spaces)
|
# 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
|
# Literals are: i → array of symbols, q → string, r → regular expression, s → symbol, w → array of words, x → capture shell result
|
||||||
|
|
Loading…
Reference in New Issue
Block a user