mirror of
https://github.com/notohh/rustlings.git
synced 2024-11-25 23:04:17 -05:00
switch theme to base16 eighties
This commit is contained in:
parent
a15b276d96
commit
a4b4350b70
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue