mirror of
https://github.com/zsh-users/zsh-syntax-highlighting.git
synced 2025-04-17 11:35:32 +08: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 New Issue
Block a user