diff options
Diffstat (limited to 'crates/libeditor/src/lib.rs')
-rw-r--r-- | crates/libeditor/src/lib.rs | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/crates/libeditor/src/lib.rs b/crates/libeditor/src/lib.rs index 013d27450..103f32190 100644 --- a/crates/libeditor/src/lib.rs +++ b/crates/libeditor/src/lib.rs | |||
@@ -1,9 +1,12 @@ | |||
1 | extern crate libsyntax2; | 1 | extern crate libsyntax2; |
2 | extern crate superslice; | 2 | extern crate superslice; |
3 | extern crate itertools; | ||
3 | 4 | ||
4 | mod extend_selection; | 5 | mod extend_selection; |
5 | mod symbols; | 6 | mod symbols; |
6 | mod line_index; | 7 | mod line_index; |
8 | mod edit; | ||
9 | mod code_actions; | ||
7 | 10 | ||
8 | use libsyntax2::{ | 11 | use libsyntax2::{ |
9 | ast::{self, NameOwner}, | 12 | ast::{self, NameOwner}, |
@@ -15,7 +18,9 @@ pub use libsyntax2::{File, TextRange, TextUnit}; | |||
15 | pub use self::{ | 18 | pub use self::{ |
16 | line_index::{LineIndex, LineCol}, | 19 | line_index::{LineIndex, LineCol}, |
17 | extend_selection::extend_selection, | 20 | extend_selection::extend_selection, |
18 | symbols::{FileSymbol, file_symbols} | 21 | symbols::{FileSymbol, file_symbols}, |
22 | edit::{EditBuilder, Edit}, | ||
23 | code_actions::{flip_comma}, | ||
19 | }; | 24 | }; |
20 | 25 | ||
21 | #[derive(Debug)] | 26 | #[derive(Debug)] |