mirror of
https://github.com/zsh-users/zsh-syntax-highlighting.git
synced 2025-12-04 21:56:45 +01:00
'main': Let AUTO_CD directories be highlighted with their own style.
This commit is contained in:
parent
3f930fb0c1
commit
83ac855ceb
5 changed files with 26 additions and 9 deletions
|
|
@ -29,11 +29,10 @@
|
|||
# -------------------------------------------------------------------------------------------------
|
||||
|
||||
setopt autocd
|
||||
|
||||
BUFFER=$'$PWD; ${PWD}'
|
||||
|
||||
expected_region_highlight=(
|
||||
'1 4 arg0' # $PWD
|
||||
'1 4 autodirectory' # $PWD
|
||||
'5 5 commandseparator' # ;
|
||||
'7 12 arg0' # ${PWD}
|
||||
'7 12 autodirectory' # ${PWD}
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue