mirror of
https://github.com/zdharma-continuum/history-search-multi-word
synced 2024-11-24 20:33:04 +00:00
*highlight: Utilize arithmetic context
This commit is contained in:
parent
1c6493100b
commit
c8496ca35d
1 changed files with 1 additions and 1 deletions
|
@ -312,7 +312,7 @@ typeset -gA HSMW_HIGHLIGHT_STYLES
|
|||
offset="${mend[1]}"
|
||||
fi
|
||||
((start_pos+=offset))
|
||||
((end_pos=$start_pos+${#arg}))
|
||||
((end_pos=start_pos+${#arg}))
|
||||
fi
|
||||
|
||||
proc_buf="${proc_buf[offset + $#arg + 1,len]}"
|
||||
|
|
Loading…
Reference in a new issue