Highlight {foo} as variables

This commit is contained in:
Yevgen Muntyan 2009-01-13 11:09:04 -06:00
parent dd80619f1b
commit d761fb4e52

View File

@ -560,7 +560,7 @@
</context>
<context id="variable" style-ref="variable" end-at-line-end="true">
<start>\$\{</start>
<start>\$(ENV)?\{</start>
<end>\}</end>
<include>
<context ref="builtin-variable"/>
@ -569,7 +569,7 @@
</context>
<context id="variable-assignment">
<start>\b((?i)SET)\b\s*\(\s*([\w_][\w\d_]*)</start>
<start>\b((?i)SET)\b\s*\(\s*([\w_][\w\d_]*|ENV\{[\w\d_]*\})</start>
<end>\)</end>
<include>
<context sub-pattern="1" where="start" style-ref="builtin-command"/>