mirror of
https://github.com/zsh-users/zsh-syntax-highlighting.git
synced 2025-12-04 21:56:45 +01:00
parent
ff61a496b5
commit
bdbe214453
5 changed files with 30 additions and 8 deletions
|
|
@ -32,6 +32,6 @@
|
|||
BUFFER=": \$'\xa1"
|
||||
|
||||
expected_region_highlight=(
|
||||
"3 4 dollar-quoted-argument" # $'
|
||||
"3 4 dollar-quoted-argument-unclosed" # $'
|
||||
"5 8 back-dollar-quoted-argument" # \xa1
|
||||
)
|
||||
|
|
|
|||
|
|
@ -32,6 +32,6 @@
|
|||
BUFFER=': "foo$bar'
|
||||
|
||||
expected_region_highlight=(
|
||||
"3 6 double-quoted-argument" # "foo
|
||||
"3 6 double-quoted-argument-unclosed" # "foo
|
||||
"7 10 dollar-double-quoted-argument" # $bar
|
||||
)
|
||||
|
|
|
|||
|
|
@ -27,8 +27,8 @@
|
|||
# vim: ft=zsh sw=2 ts=2 et
|
||||
# -------------------------------------------------------------------------------------------------
|
||||
|
||||
BUFFER=$'echo "foo1\n'
|
||||
BUFFER=$'echo \'foo1\n'
|
||||
|
||||
expected_region_highlight=(
|
||||
"6 10 double-quoted-argument" # 'foo2"'
|
||||
"6 10 single-quoted-argument-unclosed" # 'foo1
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue