mirror of
https://github.com/zsh-users/zsh-syntax-highlighting.git
synced 2025-12-04 21:56:45 +01:00
Merge remote-tracking branch 'upstream/master' into perf
This commit is contained in:
commit
4300652404
1 changed files with 5 additions and 3 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue