'main': Expand aliases first. (Issue #264.)

This commit causes an alias to an invalid command to be highlighted as an error
(unknown-token).
This commit is contained in:
Daniel Shahaf
2016-07-28 08:16:22 +00:00
committed by Matthew Martin
parent cf88b63523
commit f3410c5862
5 changed files with 110 additions and 11 deletions

View File

@@ -31,6 +31,6 @@ alias x=command
BUFFER='x ls'
expected_region_highlight=(
"1 1 alias" # x
"1 1 precommand" # x
"3 4 command" # ls
)