Simple scope completion

This commit is contained in:
Aleksey Kladov 2018-08-26 12:51:45 +03:00
parent ac226021cf
commit 71722c047f
5 changed files with 34 additions and 2 deletions

View file

@ -14,7 +14,7 @@ use {
#[derive(Debug)]
pub struct CompletionItem {
name: String,
pub name: String,
}
pub fn scope_completion(file: &File, offset: TextUnit) -> Option<Vec<CompletionItem>> {