From ea763c73b8d89edbf716805c62cf31b00e2e1a4f Mon Sep 17 00:00:00 2001 From: Aleksey Kladov Date: Sat, 22 Dec 2018 02:28:09 +0300 Subject: fix snippet icon --- crates/ra_analysis/src/completion/complete_snippet.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'crates') diff --git a/crates/ra_analysis/src/completion/complete_snippet.rs b/crates/ra_analysis/src/completion/complete_snippet.rs index 91de8ca37..fb9da0a4f 100644 --- a/crates/ra_analysis/src/completion/complete_snippet.rs +++ b/crates/ra_analysis/src/completion/complete_snippet.rs @@ -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) { -- cgit v1.2.3