highlight hash access symbols
This commit is contained in:
parent
eace7e0424
commit
63f9f9bbc9
|
@ -45,7 +45,7 @@ add-highlighter -group /ruby/comment fill comment
|
|||
|
||||
add-highlighter -group /ruby/literal fill meta
|
||||
|
||||
add-highlighter -group /ruby/code regex \b([A-Za-z]\w*:(?=[^:]))|([$@][A-Za-z]\w*)|((?<=[^:]):[A-Za-z]\w*[=?!]?)|([A-Z]\w*|^|\h)\K::(?=[A-Z]) 0:variable
|
||||
add-highlighter -group /ruby/code regex \b([A-Za-z]\w*:(?=[^:]))|([$@][A-Za-z]\w*)|((?<=[^:]):(([A-Za-z]\w*[=?!]?)|(\[\]=?)))|([A-Z]\w*|^|\h)\K::(?=[A-Z]) 0:variable
|
||||
|
||||
%sh{
|
||||
# Grammar
|
||||
|
|
Loading…
Reference in New Issue
Block a user