aboutsummaryrefslogtreecommitdiff
path: root/crates/libeditor/src
diff options
context:
space:
mode:
authorAleksey Kladov <[email protected]>2018-08-26 10:51:45 +0100
committerAleksey Kladov <[email protected]>2018-08-26 10:51:45 +0100
commit71722c047f96cb754c958c52591ca53f2a9c4d3c (patch)
tree981f344602900130acdae20509e5e0cb029f508b /crates/libeditor/src
parentac226021cfd26a9332b5971f3e05118d77822af5 (diff)
Simple scope completion
Diffstat (limited to 'crates/libeditor/src')
-rw-r--r--crates/libeditor/src/completion.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/libeditor/src/completion.rs b/crates/libeditor/src/completion.rs
index 16c9ead74..aeed19559 100644
--- a/crates/libeditor/src/completion.rs
+++ b/crates/libeditor/src/completion.rs
@@ -14,7 +14,7 @@ use {
14 14
15#[derive(Debug)] 15#[derive(Debug)]
16pub struct CompletionItem { 16pub struct CompletionItem {
17 name: String, 17 pub name: String,
18} 18}
19 19
20pub fn scope_completion(file: &File, offset: TextUnit) -> Option<Vec<CompletionItem>> { 20pub fn scope_completion(file: &File, offset: TextUnit) -> Option<Vec<CompletionItem>> {