mirror of
https://github.com/zsh-users/zsh-syntax-highlighting.git
synced 2025-12-04 21:56:45 +01:00
Merge b4e667795c into 45194671af
This commit is contained in:
commit
51d4a1b279
1 changed files with 1 additions and 0 deletions
|
|
@ -42,6 +42,7 @@ _zsh_highlight_pattern_highlighter_predicate()
|
||||||
_zsh_highlight_pattern_highlighter()
|
_zsh_highlight_pattern_highlighter()
|
||||||
{
|
{
|
||||||
setopt localoptions extendedglob
|
setopt localoptions extendedglob
|
||||||
|
local pattern
|
||||||
for pattern in ${(k)ZSH_HIGHLIGHT_PATTERNS}; do
|
for pattern in ${(k)ZSH_HIGHLIGHT_PATTERNS}; do
|
||||||
_zsh_highlight_pattern_highlighter_loop "$BUFFER" "$pattern"
|
_zsh_highlight_pattern_highlighter_loop "$BUFFER" "$pattern"
|
||||||
done
|
done
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue