Merge remote-tracking branch 'alexherbo2/ruby-rc'
This commit is contained in:
commit
e63781819c
|
@ -19,7 +19,7 @@ hook global BufCreate .*(([.](rb))|(irbrc)|(pryrc)|(Capfile|[.]cap)|(Gemfile)|(G
|
||||||
|
|
||||||
addhl -group / regions -default code ruby \
|
addhl -group / regions -default code ruby \
|
||||||
double_string '"' (?<!\\)(\\\\)*" '' \
|
double_string '"' (?<!\\)(\\\\)*" '' \
|
||||||
single_string "'" "'" '' \
|
single_string "'" (?<!\\)(\\\\)*' '' \
|
||||||
backtick '`' (?<!\\)(\\\\)*` '' \
|
backtick '`' (?<!\\)(\\\\)*` '' \
|
||||||
regex '/' (?<!\\)(\\\\)*/[imox]* '' \
|
regex '/' (?<!\\)(\\\\)*/[imox]* '' \
|
||||||
comment '#' '$' '' \
|
comment '#' '$' '' \
|
||||||
|
@ -50,7 +50,7 @@ addhl -group /ruby/comment fill comment
|
||||||
|
|
||||||
addhl -group /ruby/literal fill meta
|
addhl -group /ruby/literal fill meta
|
||||||
|
|
||||||
addhl -group /ruby/code regex \<([A-Za-z]\w+:)|([$@][A-Za-z]\w+)|(\W\K:[A-Za-z]\w+[=?!]?) 0:identifier
|
addhl -group /ruby/code regex \<([A-Za-z]\w*:)|([$@][A-Za-z]\w*)|(\W\K:[A-Za-z]\w*[=?!]?) 0:identifier
|
||||||
addhl -group /ruby/code regex \<(require|include)\> 0:meta
|
addhl -group /ruby/code regex \<(require|include)\> 0:meta
|
||||||
addhl -group /ruby/code regex \<(attr_(reader|writer|accessor))\> 0:attribute
|
addhl -group /ruby/code regex \<(attr_(reader|writer|accessor))\> 0:attribute
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user