Add parser keyword note to help and $nu.scope (#4978)

This commit is contained in:
Jakub Žádník
2022-03-26 21:22:45 +02:00
committed by GitHub
parent 79e4d35f01
commit 3484e0defd
21 changed files with 200 additions and 9 deletions

View File

@ -1002,6 +1002,12 @@ pub fn create_scope(
span,
});
cols.push("is_keyword".into());
vals.push(Value::Bool {
val: decl.is_parser_keyword(),
span,
});
cols.push("is_extern".to_string());
vals.push(Value::Bool {
val: decl.is_known_external(),