diff options
Diffstat (limited to 'config.def.h')
| -rw-r--r-- | config.def.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/config.def.h b/config.def.h index 78b2ccb..fdd20ae 100644 --- a/config.def.h +++ b/config.def.h @@ -982,7 +982,13 @@ static Syntax syntaxes[] = {{ "^[0-9A-Z_]+\\(\\)", &colors[COLOR_CONSTANT], },{ - "\\$\\{?[0-9A-Z_!@#$*?-]+\\}?", + "\\$[?!@#$?*-]", + &colors[COLOR_VARIABLE], + },{ + "\\$\\{[A-Za-z_][0-9A-Za-z_]+\\}", + &colors[COLOR_VARIABLE], + },{ + "\\$[A-Za-z_][0-9A-Za-z_]+", &colors[COLOR_VARIABLE], },{ B"(case|do|done|elif|else|esac|exit|fi|for|function|if|in|local|read|return|select|shift|then|time|until|while)"B, |
