We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
completion.snippets
1 parent dfcbed0 commit e3bde57Copy full SHA for e3bde57
crates/ide-completion/src/snippet.rs
@@ -6,12 +6,12 @@
6
//
7
// 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.
8
9
-// 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.
10
11
// [source,json]
12
// ----
13
// {
14
-// "rust-analyzer.completion.snippets": {
+// "rust-analyzer.completion.snippets.custom": {
15
// "thread spawn": {
16
// "prefix": ["spawn", "tspawn"],
17
// "body": [
0 commit comments