diff --git a/crates/libeditor/src/completion.rs b/crates/libeditor/src/completion.rs index 2756e472ad..7e86698221 100644 --- a/crates/libeditor/src/completion.rs +++ b/crates/libeditor/src/completion.rs @@ -14,6 +14,7 @@ use { #[derive(Debug)] pub struct CompletionItem { pub name: String, + pub snippet: Option } pub fn scope_completion(file: &File, offset: TextUnit) -> Option> { @@ -33,7 +34,10 @@ pub fn scope_completion(file: &File, offset: TextUnit) -> Option