mirror of
https://github.com/zsh-users/zsh-syntax-highlighting.git
synced 2026-08-24 04:23:16 +08:00
main: Stop highlighting alias as its first word too
Fixes #565 and #576
This commit is contained in:
@@ -33,7 +33,6 @@ alias a=b b=c c=b
|
||||
BUFFER='a foo; :'
|
||||
|
||||
expected_region_highlight=(
|
||||
'1 1 alias' # a
|
||||
'1 1 unknown-token' # a (invalid alias loop)
|
||||
'3 5 default' # foo
|
||||
'6 6 commandseparator' # ;
|
||||
|
||||
Reference in New Issue
Block a user