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
|
|
@ -31,8 +31,8 @@ ZSH_HIGHLIGHT_STYLES[reserved-word]=$unused_highlight
|
|||
BUFFER='repeat "1" do done'
|
||||
|
||||
expected_region_highlight=(
|
||||
"1 6 ${(q-)ZSH_HIGHLIGHT_STYLES[reserved-word]}" # repeat
|
||||
"8 10 ${(q-)ZSH_HIGHLIGHT_STYLES[double-quoted-argument]}" # "1"
|
||||
"12 13 ${(q-)ZSH_HIGHLIGHT_STYLES[reserved-word]}" # do
|
||||
"15 18 ${(q-)ZSH_HIGHLIGHT_STYLES[reserved-word]}" # done
|
||||
"1 6 reserved-word" # repeat
|
||||
"8 10 double-quoted-argument" # "1"
|
||||
"12 13 reserved-word" # do
|
||||
"15 18 reserved-word" # done
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue