mirror of
https://github.com/zsh-users/zsh-syntax-highlighting.git
synced 2025-12-11 22:02:31 +01:00
Merge 7affd7e2fe into 4c23a2fd1b
This commit is contained in:
commit
2436ba85f6
2 changed files with 38 additions and 1 deletions
|
|
@ -114,7 +114,7 @@ _zsh_highlight()
|
|||
|
||||
# Re-apply zle_highlight settings
|
||||
() {
|
||||
if (( REGION_ACTIVE )) ; then
|
||||
if (( MARK > 0 )) || (( REGION_ACTIVE )) ; then
|
||||
# zle_highlight[region] defaults to 'standout' if unspecified
|
||||
local region="${${zle_highlight[(r)region:*]#region:}:-standout}"
|
||||
integer start end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue