mirror of
https://github.com/zsh-users/zsh-syntax-highlighting.git
synced 2025-04-17 11:35:32 +08:00
fixup! 'main': Fix highlighting of «<->»-style numeric globs.
This commit is contained in:
parent
a8df386588
commit
7e10a47a1d
@ -28,10 +28,13 @@
|
||||
# vim: ft=zsh sw=2 ts=2 et
|
||||
# -------------------------------------------------------------------------------------------------
|
||||
|
||||
BUFFER=$'print <-> x<->'
|
||||
BUFFER=$'print <-> x<-> <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' # >
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user