mirror of
https://github.com/zsh-users/zsh-syntax-highlighting.git
synced 2025-12-04 21:56:45 +01:00
fixup! 'main': Apply the parameter expansion logic regardless of the type
This commit is contained in:
parent
b47387b55e
commit
78f40ee2b6
2 changed files with 39 additions and 1 deletions
|
|
@ -1299,7 +1299,7 @@ _zsh_highlight_main_highlighter_highlight_argument()
|
|||
fi
|
||||
esac
|
||||
|
||||
for (( ; i <= $#arg ; i += 1 )); do
|
||||
for (( ; i <= $#arg && ! in_param ; i += 1 )); do
|
||||
case "$arg[$i]" in
|
||||
"\\") (( i += 1 )); continue;;
|
||||
"'")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue