mirror of
https://github.com/zdharma-continuum/history-search-multi-word
synced 2024-11-25 04:40:21 +00:00
Fix use of 256 colors in *highlight styles
This commit is contained in:
parent
1553fc9fba
commit
6afcbfa345
1 changed files with 1 additions and 1 deletions
|
@ -134,7 +134,7 @@ _hsmw_main() {
|
|||
for line in "${disp_list[@]}"; do
|
||||
reply=( )
|
||||
-hsmw-highlight-process "$line"
|
||||
region_highlight+=( "${reply[@]//(#b)([[:digit:]]##)/$(( ${match[1]} + pre_index + offset ))}" )
|
||||
region_highlight+=( "${reply[@]//(#b)([[:digit:]]##) ([[:digit:]]##)/$(( ${match[1]} + pre_index + offset )) $(( ${match[2]} + pre_index + offset ))}" )
|
||||
pre_index+=${#line}+1
|
||||
done
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue