mirror of
https://github.com/zdharma-continuum/history-search-multi-word
synced 2024-11-22 03:13:09 +00:00
Use red instead of yellow for highlighting
This commit is contained in:
parent
59cbaf3254
commit
6eb26e7a88
1 changed files with 1 additions and 1 deletions
|
@ -84,7 +84,7 @@ _hsmw_main() {
|
|||
|
||||
region_highlight=()
|
||||
if [ -n "$colsearch_pattern" ]; then
|
||||
region_highlight+=( "${(f)${(S)text//*(#bi)(${~colsearch_pattern})/$(( offset + mbegin[1] - 1 )) $(( offset + mend[1] )) fg=yellow,bold${nl}}%$nl*}" )
|
||||
region_highlight+=( "${(f)${(S)text//*(#bi)(${~colsearch_pattern})/$(( offset + mbegin[1] - 1 )) $(( offset + mend[1] )) fg=red,bold${nl}}%$nl*}" )
|
||||
fi
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue