627eb71940
Notably, the 'single-hyphen-option' and 'assign' contexts both default to the 'none' style, so before this patch, the tests would not have detected a failure to apply those two contexts. For other contexts, using $unused_highlight only helps detect the case where the right highlight style (e.g., 'fg=yellow') is used as a result of applying the wrong context — which should be a theoretical failure mode. This is part of zsh-users/zsh-syntax-highlighting#198. |
||
---|---|---|
.. | ||
assign-append.zsh | ||
assign.zsh | ||
backslash-continuation.zsh | ||
dollar-quoted.zsh | ||
double-quoted.zsh | ||
glob.zsh | ||
multiline-string.zsh | ||
multiline-string2.zsh | ||
multiple-redirections.zsh | ||
noglob1.zsh | ||
noglob2.zsh | ||
path-space- .zsh | ||
path-tilde-home.zsh | ||
path-tilde-named.zsh | ||
path.zsh | ||
prefix-redirection.zsh | ||
simple-command.zsh | ||
simple-redirection.zsh | ||
sudo-command.zsh | ||
unknown-command.zsh | ||
vanilla-newline.zsh |