mirror of
https://github.com/zsh-users/zsh-syntax-highlighting.git
synced 2025-12-04 21:56:45 +01:00
Issue 32: 'xargs' and 'zargs' are followed by commands (thanks to claytron)
This commit is contained in:
parent
ca4d7fbd06
commit
0a50e2a830
2 changed files with 4 additions and 1 deletions
|
|
@ -62,6 +62,8 @@ ZSH_HIGHLIGHT_TOKENS_FOLLOWED_BY_COMMANDS=(
|
|||
'which'
|
||||
'where'
|
||||
'whereis'
|
||||
'xargs'
|
||||
'zargs'
|
||||
)
|
||||
|
||||
# ZLE highlight types.
|
||||
|
|
@ -168,7 +170,7 @@ _zsh_highlight-zle-buffer() {
|
|||
start_pos=$end_pos
|
||||
done
|
||||
|
||||
# Bracket matching
|
||||
# Bracket matching
|
||||
bracket_color_size=${#ZSH_HIGHLIGHT_MATCHING_BRACKETS_STYLES}
|
||||
if ((bracket_color_size > 0)); then
|
||||
typeset -A levelpos lastoflevel matching revmatching
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue