Fix highlighting of single letter identifiers
This commit is contained in:
parent
6ec14030ad
commit
88cf7a216c
|
@ -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