*-highlight: Correctly highlight ')'

This commit is contained in:
Sebastian Gniazdowski 2017-04-10 10:38:06 +02:00
parent cf3364f018
commit e3d3093681

View file

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