Fix obsolete completion.snippets config

This commit is contained in:
TonalidadeHidrica 2022-07-11 17:00:40 +09:00
parent dfcbed09d3
commit e3bde579c4

View File

@ -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. // 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] // [source,json]
// ---- // ----
// { // {
// "rust-analyzer.completion.snippets": { // "rust-analyzer.completion.snippets.custom": {
// "thread spawn": { // "thread spawn": {
// "prefix": ["spawn", "tspawn"], // "prefix": ["spawn", "tspawn"],
// "body": [ // "body": [