mirror of
https://github.com/nushell/nushell.git
synced 2025-01-08 23:40:17 +01:00
Fix up block parse recovery
This commit is contained in:
parent
b20c4047d4
commit
74bb2af3e1
@ -1687,6 +1687,8 @@ pub fn parse_value(
|
||||
return parse_dollar_expr(working_set, span);
|
||||
} else if bytes.starts_with(b"(") {
|
||||
return parse_full_column_path(working_set, span);
|
||||
} else if bytes.starts_with(b"{") {
|
||||
return parse_block_expression(working_set, span);
|
||||
} else if bytes.starts_with(b"[") {
|
||||
match shape {
|
||||
SyntaxShape::Any
|
||||
|
Loading…
Reference in New Issue
Block a user