mirror of
https://github.com/zsh-users/zsh-syntax-highlighting.git
synced 2025-04-17 11:35:32 +08:00
Merge remote-tracking branch 'upstream/master' into perf
This commit is contained in:
commit
4300652404
@ -30,8 +30,10 @@
|
||||
hash zsyh-hashed-command=/usr/bin/env
|
||||
BUFFER='doesnotexist; zsyh-hashed-command'
|
||||
|
||||
# Test that highlighting "doesnotexist" does not invoke the "rehash" builtin,
|
||||
# which would delete hashed commands (such as "zsyh-hashed-command").
|
||||
expected_region_highlight=(
|
||||
"1 12 unknown-token"
|
||||
"13 13 commandseparator"
|
||||
"15 33 hashed-command"
|
||||
"1 12 unknown-token" # doesnotexist
|
||||
"13 13 commandseparator" # ;
|
||||
"15 33 hashed-command" # zsyh-hashed-command
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user