mirror of
https://github.com/zsh-users/zsh-syntax-highlighting.git
synced 2025-12-04 21:56:45 +01:00
tests: Specify the style key instead of the style itself
This commit is contained in:
parent
c54c076cfa
commit
a830613467
70 changed files with 246 additions and 246 deletions
|
|
@ -30,17 +30,17 @@
|
|||
BUFFER='ps aux | grep java | sort | uniq | tail | head'
|
||||
|
||||
expected_region_highlight=(
|
||||
"1 2 ${(q-)ZSH_HIGHLIGHT_STYLES[command]}" # ps
|
||||
"4 6 ${(q-)ZSH_HIGHLIGHT_STYLES[default]}" # aux
|
||||
"8 8 ${(q-)ZSH_HIGHLIGHT_STYLES[commandseparator]}" # |
|
||||
"10 13 ${(q-)ZSH_HIGHLIGHT_STYLES[command]}" # grep
|
||||
"15 18 ${(q-)ZSH_HIGHLIGHT_STYLES[default]}" # java
|
||||
"20 20 ${(q-)ZSH_HIGHLIGHT_STYLES[commandseparator]}" # |
|
||||
"22 25 ${(q-)ZSH_HIGHLIGHT_STYLES[command]}" # sort
|
||||
"27 27 ${(q-)ZSH_HIGHLIGHT_STYLES[commandseparator]}" # |
|
||||
"29 32 ${(q-)ZSH_HIGHLIGHT_STYLES[command]}" # uniq
|
||||
"34 34 ${(q-)ZSH_HIGHLIGHT_STYLES[commandseparator]}" # |
|
||||
"36 39 ${(q-)ZSH_HIGHLIGHT_STYLES[command]}" # tail
|
||||
"41 41 ${(q-)ZSH_HIGHLIGHT_STYLES[commandseparator]}" # |
|
||||
"43 46 ${(q-)ZSH_HIGHLIGHT_STYLES[command]}" # head
|
||||
"1 2 command" # ps
|
||||
"4 6 default" # aux
|
||||
"8 8 commandseparator" # |
|
||||
"10 13 command" # grep
|
||||
"15 18 default" # java
|
||||
"20 20 commandseparator" # |
|
||||
"22 25 command" # sort
|
||||
"27 27 commandseparator" # |
|
||||
"29 32 command" # uniq
|
||||
"34 34 commandseparator" # |
|
||||
"36 39 command" # tail
|
||||
"41 41 commandseparator" # |
|
||||
"43 46 command" # head
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue