main: Add arithmetic substitution highlighting

Closes #607 #649 #704
This commit is contained in:
Matthew Martin
2020-03-18 23:31:11 -05:00
parent f8b1470314
commit a238647df9
6 changed files with 121 additions and 27 deletions

View File

@@ -33,5 +33,5 @@ BUFFER=$': $(( 6 * 9 ))'
expected_region_highlight=(
'1 1 builtin' # :
'3 14 default' # $(( 6 * 9 ))
'3 14 arithmetic-expansion' # $(( 6 * 9 ))
)
expected_mismatch="currently the actual highlighting has one superfluous group that highlights the asterisk is highlighted as 'globbing'"