mirror of
https://github.com/zsh-users/zsh-syntax-highlighting.git
synced 2025-12-04 21:56:45 +01:00
Perf: speed up _zsh_highlight_highlighter_main_paint
This commit is contained in:
parent
5ac6f101fd
commit
818e2f2290
2 changed files with 246 additions and 203 deletions
|
|
@ -91,6 +91,11 @@ _zsh_highlight_add_highlight()
|
|||
region_highlight+=("$1 $2 $3")
|
||||
}
|
||||
|
||||
_zsh_highlight_main_calculate_styles()
|
||||
{
|
||||
# Do nothing
|
||||
}
|
||||
|
||||
# Activate the highlighter.
|
||||
ZSH_HIGHLIGHT_HIGHLIGHTERS=($1)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue