mirror of
https://github.com/rust-lang/rustlings.git
synced 2024-11-08 09:09:17 +01:00
switch theme to base16 eighties
This commit is contained in:
parent
a15b276d96
commit
a4b4350b70
@ -141,7 +141,7 @@ fn main() {
|
||||
}
|
||||
|
||||
if let None = matches.subcommand_name() {
|
||||
let mut highlighter = HighlightFile::new("default_out.md", &ss, &ts.themes["Solarized (dark)"]).unwrap();
|
||||
let mut highlighter = HighlightFile::new("default_out.md", &ss, &ts.themes["base16-eighties.dark"]).unwrap();
|
||||
for maybe_line in highlighter.reader.lines() {
|
||||
let line = maybe_line.unwrap();
|
||||
let regions: Vec<(Style, &str)> = highlighter.highlight_lines.highlight(&line, &ss);
|
||||
|
Loading…
Reference in New Issue
Block a user