mirror of
https://github.com/nushell/nushell.git
synced 2024-11-26 10:23:52 +01:00
Add record, list, and table to signature types (#5040)
This commit is contained in:
parent
385bc40627
commit
d89ad4fafd
@ -2487,6 +2487,9 @@ pub fn parse_shape_name(
|
||||
b"signature" => SyntaxShape::Signature,
|
||||
b"string" => SyntaxShape::String,
|
||||
b"variable" => SyntaxShape::Variable,
|
||||
b"record" => SyntaxShape::Record,
|
||||
b"list" => SyntaxShape::List(Box::new(SyntaxShape::Any)),
|
||||
b"table" => SyntaxShape::Table,
|
||||
_ => {
|
||||
if bytes.contains(&b'@') {
|
||||
let str = String::from_utf8_lossy(bytes);
|
||||
|
Loading…
Reference in New Issue
Block a user