File tree Expand file tree Collapse file tree 1 file changed +10
-2
lines changed Expand file tree Collapse file tree 1 file changed +10
-2
lines changed Original file line number Diff line number Diff line change 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 } ;
2
9
use console:: { style, Emoji } ;
3
10
use indicatif:: ProgressBar ;
4
11
use syntect:: easy:: HighlightFile ;
5
12
use syntect:: parsing:: SyntaxSet ;
6
13
use syntect:: highlighting:: { ThemeSet , Style } ;
7
- use syntect:: util:: { as_24_bit_terminal_escaped} ;
14
+ use syntect:: util:: { as_24_bit_terminal_escaped, LinesWithEndings } ;
8
15
use std:: fs:: remove_file;
9
16
use std:: io:: BufRead ;
10
17
use std:: process:: Command ;
18
+ use std:: fs:: read_to_string;
11
19
use std:: sync:: mpsc:: channel;
12
20
use std:: time:: Duration ;
13
21
use notify:: DebouncedEvent ;
You can’t perform that action at this time.
0 commit comments