mirror of
https://github.com/mawww/kakoune.git
synced 2024-12-26 21:22:00 +03:00
Highlight variable expansions as values in shell scripts
This commit is contained in:
parent
e7970232d3
commit
aca984f000
@ -36,7 +36,7 @@ addhl -group /sh/code regex [\[\]\(\)&|]{1,2} 0:operator
|
|||||||
addhl -group /sh/code regex (\w+)= 1:identifier
|
addhl -group /sh/code regex (\w+)= 1:identifier
|
||||||
addhl -group /sh/code regex ^\h*(\w+)\h*\(\) 1:identifier
|
addhl -group /sh/code regex ^\h*(\w+)\h*\(\) 1:identifier
|
||||||
|
|
||||||
addhl -group /sh/code regex \$(\w+|\{.+?\}|#|@|\?|\$|!|-|\*) 0:identifier
|
addhl -group /sh/code regex \$(\w+|\{.+?\}|#|@|\?|\$|!|-|\*) 0:value
|
||||||
addhl -group /sh/double_string regex \$(\w+|\{.+?\}) 0:identifier
|
addhl -group /sh/double_string regex \$(\w+|\{.+?\}) 0:identifier
|
||||||
|
|
||||||
hook -group sh-highlight global WinSetOption filetype=sh %{ addhl ref sh }
|
hook -group sh-highlight global WinSetOption filetype=sh %{ addhl ref sh }
|
||||||
|
Loading…
Reference in New Issue
Block a user