mirror of
https://github.com/zsh-users/zsh-syntax-highlighting.git
synced 2025-12-04 21:56:45 +01:00
'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:
parent
cf88b63523
commit
f3410c5862
5 changed files with 110 additions and 11 deletions
|
|
@ -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
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue