mirror of
https://github.com/zsh-users/zsh-syntax-highlighting
synced 2024-09-20 16:39:05 +02:00
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
|
||||
|
||||
# If cursor is on a bracket, then highlight corresponding bracket, if any
|
||||
pos=CURSOR
|
||||
pos=$CURSOR
|
||||
if [[ -n $levelpos[$pos] ]] && [[ -n $matching[$pos] ]]; then
|
||||
local otherpos=$matching[$pos]
|
||||
region_highlight+=("$otherpos $((otherpos + 1)) standout")
|
||||
|
|
Loading…
Reference in a new issue