mirror of
https://github.com/zdharma-continuum/history-search-multi-word
synced 2024-11-21 19:03:11 +00:00
*-highlight: Correctly highlight ')'
This commit is contained in:
parent
cf3364f018
commit
e3d3093681
1 changed files with 2 additions and 0 deletions
|
@ -478,6 +478,8 @@ __HSMW_HIGHLIGHT_TOKENS_TYPES=(
|
|||
# subshell
|
||||
style=reserved-word
|
||||
braces_stack='R'"$braces_stack"
|
||||
elif [[ $arg == $'\x29' ]]; then
|
||||
[[ $braces_stack[1] == "R" ]] && { braces_stack[1]=""; style=reserved-word; }
|
||||
elif (( this_word & 14 )); then
|
||||
style=default
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue