1
1
mirror of https://github.com/mawww/kakoune.git synced 2024-12-25 12:36:11 +03:00

highlight symbols in hash syntax as identifiers

This commit is contained in:
Alex Leferry 2 2014-07-10 19:16:20 +02:00
parent bbc1e1f5c2
commit 4b23919e92

View File

@ -43,8 +43,8 @@ addhl -group /ruby/regex/interpolation/content fill macro
addhl -group /ruby/comment fill comment
addhl -group /ruby/literal fill macro
addhl -group /ruby/code regex ([$@][a-z]\w+)|(\W\K:[a-z]\w+[=?!]?) 0:identifier
addhl -group /ruby/code regex \<(require|include)\>|\<([a-z]\w+:) 0:macro
addhl -group /ruby/code regex \<([a-z]\w+:)|([$@][a-z]\w+)|(\W\K:[a-z]\w+[=?!]?) 0:identifier
addhl -group /ruby/code regex \<(require|include)\> 0:macro
addhl -group /ruby/code regex \<(attr_(reader|writer|accessor))\> 0:attribute
# Keywords are collected searching for keyword_ at