Use red instead of yellow for highlighting

This commit is contained in:
Sebastian Gniazdowski 2016-05-25 09:02:31 +02:00
parent 59cbaf3254
commit 6eb26e7a88

View file

@ -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
}