mirror of
https://github.com/zdharma-continuum/history-search-multi-word
synced 2025-02-16 11:08:23 +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
|
for line in "${disp_list[@]}"; do
|
||||||
reply=( )
|
reply=( )
|
||||||
-hsmw-highlight-process "$line"
|
-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
|
pre_index+=${#line}+1
|
||||||
done
|
done
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Add table
Reference in a new issue