mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-03 07:04:49 +00:00
Complete macros parenthesis
This commit is contained in:
parent
d614f463de
commit
037e02c08d
4 changed files with 9 additions and 9 deletions
|
@ -114,7 +114,7 @@ impl Completions {
|
|||
.kind(CompletionItemKind::Macro)
|
||||
.set_documentation(macro_.docs(ctx.db))
|
||||
.detail(detail)
|
||||
.insert_snippet(format!("{}!", name));
|
||||
.insert_snippet(format!("{}!($0)", name));
|
||||
|
||||
self.add(builder);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue