mirror of
https://github.com/zsh-users/zsh-syntax-highlighting.git
synced 2025-12-04 21:56:45 +01:00
Don't highlight escaped globbing.
Fixes zsh-users/zsh-syntax-highlighting#193.
This commit is contained in:
parent
6488284814
commit
52a2ef644b
2 changed files with 5 additions and 2 deletions
|
|
@ -28,10 +28,12 @@
|
|||
# vim: ft=zsh sw=2 ts=2 et
|
||||
# -------------------------------------------------------------------------------------------------
|
||||
|
||||
BUFFER=': foo* bar?'
|
||||
BUFFER=': foo* bar? *baz qux\?'
|
||||
|
||||
expected_region_highlight=(
|
||||
"1 1 $ZSH_HIGHLIGHT_STYLES[builtin]" # :
|
||||
"3 6 $ZSH_HIGHLIGHT_STYLES[globbing]" # foo*
|
||||
"8 11 $ZSH_HIGHLIGHT_STYLES[globbing]" # bar?
|
||||
"13 16 $ZSH_HIGHLIGHT_STYLES[globbing]" # *baz
|
||||
"18 22 $ZSH_HIGHLIGHT_STYLES[default]" # qux\?
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue