mirror of
https://github.com/zsh-users/zsh-syntax-highlighting
synced 2024-12-19 01:44:37 +00:00
parent
95f7206a93
commit
53083da821
@ -582,6 +582,7 @@ _zsh_highlight_main_highlighter_check_path()
|
||||
REPLY=path
|
||||
|
||||
[[ -z $expanded_path ]] && return 1
|
||||
[[ -L $expanded_path ]] && return 0
|
||||
[[ -e $expanded_path ]] && return 0
|
||||
|
||||
# Search the path in CDPATH
|
||||
|
@ -32,5 +32,5 @@ BUFFER=': broken-symlink'
|
||||
CURSOR=5 # to make path_prefix ineligible
|
||||
|
||||
expected_region_highlight=(
|
||||
"3 16 path 'issue #342'" # broken-symlink
|
||||
"3 16 path" # broken-symlink
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user