mirror of
https://github.com/nushell/nushell.git
synced 2025-08-13 22:38:25 +02:00
Migrate most uses of the Span concept to Tag
Also migrate mv, rm and commands like that to taking a SyntaxType::Pattern instead of a SyntaxType::Path for their first argument.
This commit is contained in:
@ -204,7 +204,7 @@ impl RenderView for TableView {
|
||||
|
||||
let mut table = Table::new();
|
||||
|
||||
let table_mode = crate::data::config::config(Span::unknown())?
|
||||
let table_mode = crate::data::config::config(Tag::unknown())?
|
||||
.get("table_mode")
|
||||
.map(|s| match s.as_string().unwrap().as_ref() {
|
||||
"light" => TableMode::Light,
|
||||
|
Reference in New Issue
Block a user