mirror of
https://github.com/nushell/nushell.git
synced 2025-08-09 06:35:56 +02:00
Adapt tk's work for a source command
This commit is contained in:
@ -34,9 +34,6 @@ impl Highlighter for NuHighlighter {
|
||||
.to_string();
|
||||
output.push((Style::new(), gap));
|
||||
}
|
||||
// println!("line: \n{}", line);
|
||||
// println!("shape: \n{:#?}\n", shape);
|
||||
// println!("global_span_offset: \n{:#?}\n", global_span_offset);
|
||||
let next_token = line
|
||||
[(shape.0.start - global_span_offset)..(shape.0.end - global_span_offset)]
|
||||
.to_string();
|
||||
|
Reference in New Issue
Block a user