mirror of
https://github.com/zsh-users/zsh-syntax-highlighting.git
synced 2025-12-04 21:56:45 +01:00
Support the '|&', '&!', '&|' command separators.
This commit is contained in:
parent
3ed0f7f823
commit
29fd6ec1de
2 changed files with 7 additions and 1 deletions
|
|
@ -125,6 +125,10 @@ _zsh_highlight_main_highlighter()
|
|||
|
||||
ZSH_HIGHLIGHT_TOKENS_COMMANDSEPARATOR=(
|
||||
'|' '||' ';' '&' '&&'
|
||||
'|&'
|
||||
'&!' '&|'
|
||||
# ### 'case' syntax, but followed by a pattern, not by a command
|
||||
# ';;' ';&' ';|'
|
||||
)
|
||||
ZSH_HIGHLIGHT_TOKENS_PRECOMMANDS=(
|
||||
'builtin' 'command' 'exec' 'nocorrect' 'noglob'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue