mirror of
https://github.com/nushell/nushell.git
synced 2025-08-09 15:06:03 +02:00
Fix up block parse recovery
This commit is contained in:
@ -1687,6 +1687,8 @@ pub fn parse_value(
|
|||||||
return parse_dollar_expr(working_set, span);
|
return parse_dollar_expr(working_set, span);
|
||||||
} else if bytes.starts_with(b"(") {
|
} else if bytes.starts_with(b"(") {
|
||||||
return parse_full_column_path(working_set, span);
|
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"[") {
|
} else if bytes.starts_with(b"[") {
|
||||||
match shape {
|
match shape {
|
||||||
SyntaxShape::Any
|
SyntaxShape::Any
|
||||||
|
Reference in New Issue
Block a user