mirror of
https://github.com/zsh-users/zsh-syntax-highlighting.git
synced 2025-12-04 21:56:45 +01:00
parent
0e1bb14452
commit
f0e6a8ef5c
3 changed files with 44 additions and 2 deletions
|
|
@ -477,7 +477,11 @@ _zsh_highlight_main_highlighter__try_expand_parameter()
|
|||
;;
|
||||
(*)
|
||||
# scalar, presumably
|
||||
words=( ${(P)MATCH} )
|
||||
if [[ $zsyh_user_options[shwordsplit] == on ]]; then
|
||||
words=( ${(P)=MATCH} )
|
||||
else
|
||||
words=( ${(P)MATCH} )
|
||||
fi
|
||||
;;
|
||||
esac
|
||||
reply=( "${words[@]}" )
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue