mirror of
https://github.com/zdharma-continuum/history-search-multi-word
synced 2024-11-24 20:33:04 +00:00
*highlight: Use explicit strings not string-like patterns
This commit is contained in:
parent
3414b244e4
commit
7031fc334e
1 changed files with 1 additions and 1 deletions
|
@ -561,7 +561,7 @@ __HSMW_HIGHLIGHT_TOKENS_TYPES=(
|
|||
if (( already_added == 0 )); then
|
||||
# ADD
|
||||
[[ "${HSMW_HIGHLIGHT_STYLES[$style]}" != "none" ]] && reply+=("$start_pos $end_pos ${HSMW_HIGHLIGHT_STYLES[$style]}")
|
||||
[[ $style == path || $style == path_prefix ]] && -hsmw-highlight-path-separators
|
||||
[[ $style == "path" || $style == "path_prefix" ]] && -hsmw-highlight-path-separators
|
||||
fi
|
||||
if (( arg_type == 3 )); then
|
||||
if [[ $arg == ';' ]] && (( in_array_assignment )); then
|
||||
|
|
Loading…
Reference in a new issue