mirror of
https://github.com/nushell/nushell.git
synced 2025-08-09 07:05:47 +02:00
Move nu-data out of nu-cli (#2369)
* WIP for moving nu-data out * Refactor nu-data out of nu-cli * Remove unwraps * Remove unwraps
This commit is contained in:
@ -32,7 +32,7 @@ pub fn view_text_value(value: &Value) {
|
||||
let highlight_range_to: u64 = 0;
|
||||
let mut theme = "OneHalfDark".to_string();
|
||||
|
||||
if let Ok(config) = nu_cli::data::config::config(Tag::unknown()) {
|
||||
if let Ok(config) = nu_data::config::config(Tag::unknown()) {
|
||||
if let Some(batvars) = config.get("textview") {
|
||||
for (idx, value) in batvars.row_entries() {
|
||||
match idx.as_ref() {
|
||||
|
Reference in New Issue
Block a user