mirror of
https://github.com/rust-lang/rustlings
synced 2024-11-18 09:25:36 +00: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() {
|
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() {
|
for maybe_line in highlighter.reader.lines() {
|
||||||
let line = maybe_line.unwrap();
|
let line = maybe_line.unwrap();
|
||||||
let regions: Vec<(Style, &str)> = highlighter.highlight_lines.highlight(&line, &ss);
|
let regions: Vec<(Style, &str)> = highlighter.highlight_lines.highlight(&line, &ss);
|
||||||
|
Loading…
Reference in New Issue
Block a user