mirror of
https://github.com/rust-lang/rust.git
synced 2025-02-27 14:24:08 +00:00
fix snippet icon
This commit is contained in:
parent
498e3a6846
commit
ea763c73b8
@ -3,7 +3,7 @@ use crate::completion::{CompletionItem, Completions, CompletionKind, CompletionI
|
||||
fn snippet(label: &str, snippet: &str) -> Builder {
|
||||
CompletionItem::new(CompletionKind::Snippet, label)
|
||||
.snippet(snippet)
|
||||
.kind(CompletionItemKind::Keyword)
|
||||
.kind(CompletionItemKind::Snippet)
|
||||
}
|
||||
|
||||
pub(super) fn complete_expr_snippet(acc: &mut Completions, ctx: &CompletionContext) {
|
||||
|
Loading…
Reference in New Issue
Block a user