Skip to content

Commit ad26a6d

Browse files
author
liv
committed
revert
1 parent 3ffd43b commit ad26a6d

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

src/main.rs

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,21 @@
1-
use clap::{App, Arg, SubCommand, crate_version};
1+
#[macro_use]
2+
extern crate clap;
3+
extern crate console;
4+
extern crate indicatif;
5+
extern crate syntect;
6+
extern crate notify;
7+
8+
use clap::{App, Arg, SubCommand};
29
use console::{style, Emoji};
310
use indicatif::ProgressBar;
411
use syntect::easy::HighlightFile;
512
use syntect::parsing::SyntaxSet;
613
use syntect::highlighting::{ThemeSet, Style};
7-
use syntect::util::{as_24_bit_terminal_escaped};
14+
use syntect::util::{as_24_bit_terminal_escaped, LinesWithEndings};
815
use std::fs::remove_file;
916
use std::io::BufRead;
1017
use std::process::Command;
18+
use std::fs::read_to_string;
1119
use std::sync::mpsc::channel;
1220
use std::time::Duration;
1321
use notify::DebouncedEvent;

0 commit comments

Comments
 (0)