diff options
Diffstat (limited to 'crates/ra_ide_api/src/completion/presentation.rs')
-rw-r--r-- | crates/ra_ide_api/src/completion/presentation.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/ra_ide_api/src/completion/presentation.rs b/crates/ra_ide_api/src/completion/presentation.rs index 1b706bb13..1995e8971 100644 --- a/crates/ra_ide_api/src/completion/presentation.rs +++ b/crates/ra_ide_api/src/completion/presentation.rs | |||
@@ -114,7 +114,7 @@ impl Completions { | |||
114 | .kind(CompletionItemKind::Macro) | 114 | .kind(CompletionItemKind::Macro) |
115 | .set_documentation(macro_.docs(ctx.db)) | 115 | .set_documentation(macro_.docs(ctx.db)) |
116 | .detail(detail) | 116 | .detail(detail) |
117 | .insert_snippet(format!("{}!", name)); | 117 | .insert_snippet(format!("{}!($0)", name)); |
118 | 118 | ||
119 | self.add(builder); | 119 | self.add(builder); |
120 | } | 120 | } |