mirror of
https://github.com/zsh-users/zsh-syntax-highlighting.git
synced 2025-12-04 21:56:45 +01:00
region: Highlight the region even when it's inactive, e.g., after <set-mark-command>.
This commit is contained in:
parent
28932316cc
commit
7affd7e2fe
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