mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-27 04:19:13 +00:00
Simple scope completion
This commit is contained in:
parent
ac226021cf
commit
71722c047f
5 changed files with 34 additions and 2 deletions
|
@ -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>> {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue