mirror of
https://github.com/zsh-users/zsh-syntax-highlighting.git
synced 2025-12-04 21:56:45 +01:00
'main': Don't highlight bare '$foo' as a filename, as it's a parameter expansion.
Fixes #474.
This commit is contained in:
parent
382be9096d
commit
03692831ad
2 changed files with 3 additions and 1 deletions
|
|
@ -33,6 +33,6 @@ BUFFER=': $foo \$foo'
|
|||
|
||||
expected_region_highlight=(
|
||||
'1 1 builtin' # :
|
||||
'3 6 default "issue #474"' # $foo - if we add a "unquoted parameter expansion" style then this expectation should change
|
||||
'3 6 default' # $foo - if we add a "unquoted parameter expansion" style then this expectation should change
|
||||
'8 12 path' # \$foo
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue