mirror of
https://github.com/zsh-users/zsh-syntax-highlighting.git
synced 2025-12-04 21:56:45 +01:00
'main': Don't match redirection operators in command substitutions as <-> number range globs. Fixes #483.
This commit is contained in:
parent
901063aa0f
commit
0458b0c16f
3 changed files with 16 additions and 11 deletions
|
|
@ -28,13 +28,13 @@
|
|||
# vim: ft=zsh sw=2 ts=2 et
|
||||
# -------------------------------------------------------------------------------------------------
|
||||
|
||||
BUFFER='print <-> x<-> <foo2-3>'
|
||||
BUFFER='print <-> x<->y <foo2-3>'
|
||||
|
||||
expected_region_highlight=(
|
||||
'1 5 builtin' # print
|
||||
'7 9 globbing' # <->
|
||||
'11 14 globbing' # x<->
|
||||
'16 16 redirection' # <
|
||||
'17 22 default' # foo2-3 (the filename)
|
||||
'23 23 redirection' # >
|
||||
'11 15 globbing' # x<->
|
||||
'17 17 redirection' # <
|
||||
'18 23 default' # foo2-3 (the filename)
|
||||
'24 24 redirection' # >
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue