mirror of
https://github.com/zdharma-continuum/history-search-multi-word
synced 2024-11-21 19:03:11 +00:00
*ctx*: Use ${#BUFFER} when highlighting message about context
This commit is contained in:
parent
1dbbb371a0
commit
4cc439897c
1 changed files with 1 additions and 1 deletions
|
@ -141,7 +141,7 @@ _hsmw_ctx_main() {
|
|||
echo "$preamble$text" >> /tmp/reply
|
||||
|
||||
if (( page_start_idx != __hsmw_ctx_page_start_idx || offset != __hsmw_ctx_prev_offset )); then
|
||||
region_highlight=( "1 $offset bg=22" )
|
||||
region_highlight=( "${#BUFFER} $offset bg=22" )
|
||||
if (( __hsmw_synhl )); then
|
||||
integer pre_index=$offset
|
||||
local line
|
||||
|
|
Loading…
Reference in a new issue