mirror of
https://github.com/zsh-users/zsh-syntax-highlighting.git
synced 2025-12-04 21:56:45 +01:00
'main': Highlight reserved words following assignments as errors.
Fixes #461.
This commit is contained in:
parent
f54d829f03
commit
b44964c545
6 changed files with 18 additions and 7 deletions
|
|
@ -33,8 +33,8 @@ BUFFER=$'foo=bar ( :; )'
|
|||
expected_region_highlight=(
|
||||
'1 7 assign' # foo=bar
|
||||
'5 7 default' # bar
|
||||
'9 9 unknown-token "issue #461"' # (
|
||||
'9 9 unknown-token' # (
|
||||
'11 11 builtin' # :
|
||||
'12 12 commandseparator' # ;
|
||||
'14 14 reserved-word' # )
|
||||
'14 14 unknown-token' # )
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue