minor style fix

This commit is contained in:
Alex Leferry 2 2014-07-10 16:23:15 +02:00
parent 1356e9cb6b
commit bbc1e1f5c2

View File

@ -15,17 +15,17 @@ hook global BufCreate .*(([.](rb))|(irbrc)|(pryrc)|(Capfile|[.]cap)|(Gemfile)|(G
# Highlighters # Highlighters
# ‾‾‾‾‾‾‾‾‾‾‾‾ # ‾‾‾‾‾‾‾‾‾‾‾‾
addhl -group / multi_region -default code ruby \ addhl -group / multi_region -default code ruby \
double_string '"' (?<!\\)(\\\\)*" '' \ double_string '"' (?<!\\)(\\\\)*" '' \
single_string "'" "'" '' \ single_string "'" "'" '' \
backtick '`' (?<!\\)(\\\\)*` '' \ backtick '`' (?<!\\)(\\\\)*` '' \
regex '/' (?<!\\)(\\\\)*/[imox]* '' \ regex '/' (?<!\\)(\\\\)*/[imox]* '' \
comment '#' '$' '' \ comment '#' '$' '' \
comment ^begin= ^=end '' \ comment ^begin= ^=end '' \
literal '%[iqrswxIQRSWX]\Q(' '\Q)' '\Q(' \ literal '%[iqrswxIQRSWX]\(' \) \( \
literal '%[iqrswxIQRSWX]\Q{' '\Q}' '\Q{' \ literal '%[iqrswxIQRSWX]\{' \} \{ \
literal '%[iqrswxIQRSWX]\Q[' '\Q]' '\Q[' \ literal '%[iqrswxIQRSWX]\[' \] \[ \
literal '%[iqrswxIQRSWX]\Q<' '\Q>' '\Q<' literal '%[iqrswxIQRSWX]<' > <
# 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