Resolves slow performance in brackets highlighter
This commit is contained in:
@@ -49,6 +49,7 @@ _zsh_highlight_brackets_highlighter()
|
|||||||
{
|
{
|
||||||
local level=0 pos
|
local level=0 pos
|
||||||
local -A levelpos lastoflevel matching typepos
|
local -A levelpos lastoflevel matching typepos
|
||||||
|
region_highlight=()
|
||||||
|
|
||||||
# Find all brackets and remember which one is matching
|
# Find all brackets and remember which one is matching
|
||||||
for (( pos = 0; $pos < ${#BUFFER}; pos++ )) ; do
|
for (( pos = 0; $pos < ${#BUFFER}; pos++ )) ; do
|
||||||
|
|||||||
Reference in New Issue
Block a user