mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-01 11:31:15 +00:00
Fix obsolete completion.snippets
config
This commit is contained in:
parent
dfcbed09d3
commit
e3bde579c4
@ -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": [
|
||||||
|
Loading…
x
Reference in New Issue
Block a user