aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_analysis/src
diff options
context:
space:
mode:
authorAleksey Kladov <[email protected]>2018-12-21 23:28:09 +0000
committerAleksey Kladov <[email protected]>2018-12-21 23:28:09 +0000
commitea763c73b8d89edbf716805c62cf31b00e2e1a4f (patch)
treec54f594021457c78a6f44c1a4b12cd36872129dd /crates/ra_analysis/src
parent498e3a6846602b9f2cd40c093007071b4df35817 (diff)
fix snippet icon
Diffstat (limited to 'crates/ra_analysis/src')
-rw-r--r--crates/ra_analysis/src/completion/complete_snippet.rs2
1 files changed, 1 insertions, 1 deletions
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
3fn snippet(label: &str, snippet: &str) -> Builder { 3fn snippet(label: &str, snippet: &str) -> Builder {
4 CompletionItem::new(CompletionKind::Snippet, label) 4 CompletionItem::new(CompletionKind::Snippet, label)
5 .snippet(snippet) 5 .snippet(snippet)
6 .kind(CompletionItemKind::Keyword) 6 .kind(CompletionItemKind::Snippet)
7} 7}
8 8
9pub(super) fn complete_expr_snippet(acc: &mut Completions, ctx: &CompletionContext) { 9pub(super) fn complete_expr_snippet(acc: &mut Completions, ctx: &CompletionContext) {