mirror of
https://github.com/rust-lang/rustlings.git
synced 2024-12-26 00:00:03 +03: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 a new issue