'main': Highlight reserved words following assignments as errors.
Fixes #461.
This commit is contained in:
@@ -33,7 +33,7 @@ BUFFER=$'foo=bar [[ -n foo ]]'
|
||||
expected_region_highlight=(
|
||||
'1 7 assign' # foo=bar
|
||||
'5 7 default' # bar
|
||||
'9 10 unknown-token "issue #461"' # [[
|
||||
'9 10 unknown-token' # [[
|
||||
'12 13 single-hyphen-option' # -n
|
||||
'15 17 default' # foo
|
||||
'19 20 reserved-word' # ]]
|
||||
|
||||
Reference in New Issue
Block a user