bracket highlighter: fix typo from last commit
This commit is contained in:
parent
e1ed255c0a
commit
24243becba
@ -87,7 +87,7 @@ _zsh_highlight_brackets_highlighter()
|
|||||||
done
|
done
|
||||||
|
|
||||||
# If cursor is on a bracket, then highlight corresponding bracket, if any
|
# If cursor is on a bracket, then highlight corresponding bracket, if any
|
||||||
pos=CURSOR
|
pos=$CURSOR
|
||||||
if [[ -n $levelpos[$pos] ]] && [[ -n $matching[$pos] ]]; then
|
if [[ -n $levelpos[$pos] ]] && [[ -n $matching[$pos] ]]; then
|
||||||
local otherpos=$matching[$pos]
|
local otherpos=$matching[$pos]
|
||||||
region_highlight+=("$otherpos $((otherpos + 1)) standout")
|
region_highlight+=("$otherpos $((otherpos + 1)) standout")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user