Skip to content

Commit e3bde57

Browse files
Fix obsolete completion.snippets config
1 parent dfcbed0 commit e3bde57

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

crates/ide-completion/src/snippet.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,12 @@
66
//
77
// 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.
88
//
9-
// A custom snippet can be defined by adding it to the `rust-analyzer.completion.snippets` object respectively.
9+
// A custom snippet can be defined by adding it to the `rust-analyzer.completion.snippets.custom` object respectively.
1010
//
1111
// [source,json]
1212
// ----
1313
// {
14-
// "rust-analyzer.completion.snippets": {
14+
// "rust-analyzer.completion.snippets.custom": {
1515
// "thread spawn": {
1616
// "prefix": ["spawn", "tspawn"],
1717
// "body": [

0 commit comments

Comments
 (0)