mirror of
https://github.com/zsh-users/zsh-syntax-highlighting.git
synced 2025-12-04 21:56:45 +01:00
Resolves slow performance in brackets highlighter
This commit is contained in:
parent
5320f1e18d
commit
e8cc271314
1 changed files with 1 additions and 0 deletions
|
|
@ -49,6 +49,7 @@ _zsh_highlight_brackets_highlighter()
|
|||
{
|
||||
local level=0 pos
|
||||
local -A levelpos lastoflevel matching typepos
|
||||
region_highlight=()
|
||||
|
||||
# Find all brackets and remember which one is matching
|
||||
for (( pos = 0; $pos < ${#BUFFER}; pos++ )) ; do
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue