This commit is contained in:
Tanishq Kancharla
2021-10-05 21:59:16 -04:00
parent 909b7d2160
commit d6d0bad7aa
4 changed files with 48 additions and 17 deletions

View File

@ -34,7 +34,9 @@ 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();