Add some support for

This commit is contained in:
JT
2021-10-30 07:15:17 +13:00
parent 6e6df46469
commit cf3f3fde92
4 changed files with 88 additions and 5 deletions

View File

@ -1182,6 +1182,16 @@ pub fn parse_variable_expr(
},
None,
);
} else if contents == b"$nu" {
return (
Expression {
expr: Expr::Var(0),
span,
ty: Type::Unknown,
custom_completion: None,
},
None,
);
}
let (id, err) = parse_variable(working_set, span);