Feat: lots of improvements
This commit is contained in:
@@ -84,6 +84,9 @@ struct ForthHighlighter;
|
||||
impl CodeHighlighter for ForthHighlighter {
|
||||
fn highlight(&self, line: &str) -> Vec<(Style, String)> {
|
||||
highlight::highlight_line(line)
|
||||
.into_iter()
|
||||
.map(|(s, t, _)| (s, t))
|
||||
.collect()
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user