mirror of
https://github.com/zsh-users/zsh-syntax-highlighting.git
synced 2025-04-17 11:35:32 +08:00
'main': Don't add multiple styles for a single parameter's expansion.
See https://github.com/zsh-users/zsh-syntax-highlighting/pull/684#issuecomment-589960462
This commit is contained in:
parent
fb074f1159
commit
8be98dc76c
@ -85,6 +85,7 @@ _zsh_highlight_main_add_region_highlight() {
|
|||||||
return
|
return
|
||||||
fi
|
fi
|
||||||
param_style=$1
|
param_style=$1
|
||||||
|
return
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# The calculation was relative to $buf but region_highlight is relative to $BUFFER.
|
# The calculation was relative to $buf but region_highlight is relative to $BUFFER.
|
||||||
|
Loading…
Reference in New Issue
Block a user