diff options
| -rw-r--r-- | crates/ide-completion/src/snippet.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crates/ide-completion/src/snippet.rs b/crates/ide-completion/src/snippet.rs index a6bb3d0648b..d2680c77583 100644 --- a/crates/ide-completion/src/snippet.rs +++ b/crates/ide-completion/src/snippet.rs @@ -6,12 +6,12 @@ // // rust-analyzer allows the user to define custom (postfix)-snippets that may depend on items to be accessible for the current scope to be applicable. // -// A custom snippet can be defined by adding it to the `rust-analyzer.completion.snippets` object respectively. +// A custom snippet can be defined by adding it to the `rust-analyzer.completion.snippets.custom` object respectively. // // [source,json] // ---- // { -// "rust-analyzer.completion.snippets": { +// "rust-analyzer.completion.snippets.custom": { // "thread spawn": { // "prefix": ["spawn", "tspawn"], // "body": [ |
