diff options
author | Lukas Wirth <[email protected]> | 2021-06-13 21:00:39 +0100 |
---|---|---|
committer | Lukas Wirth <[email protected]> | 2021-06-13 21:00:39 +0100 |
commit | b58c1c9eb2b19479018add616592b73e3b933b77 (patch) | |
tree | cf057e31d16253cdf6b88ecae8bb1201e542cbd3 /editors/code | |
parent | 863e23f00f90c0ddd408e906618586a98273a14c (diff) |
Give ImportPrefix variants better config names
Diffstat (limited to 'editors/code')
-rw-r--r-- | editors/code/package.json | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/editors/code/package.json b/editors/code/package.json index 0f3ed48a0..9565c6edb 100644 --- a/editors/code/package.json +++ b/editors/code/package.json | |||
@@ -418,13 +418,13 @@ | |||
418 | "type": "string", | 418 | "type": "string", |
419 | "enum": [ | 419 | "enum": [ |
420 | "plain", | 420 | "plain", |
421 | "by_self", | 421 | "self", |
422 | "by_crate" | 422 | "crate" |
423 | ], | 423 | ], |
424 | "enumDescriptions": [ | 424 | "enumDescriptions": [ |
425 | "Insert import paths relative to the current module, using up to one `super` prefix if the parent module contains the requested item.", | 425 | "Insert import paths relative to the current module, using up to one `super` prefix if the parent module contains the requested item.", |
426 | "Prefix all import paths with `self` if they don't begin with `self`, `super`, `crate` or a crate name.", | 426 | "Insert import paths relative to the current module, using up to one `super` prefix if the parent module contains the requested item. Prefixes `self` in front of the path if it starts with a module.", |
427 | "Force import paths to be absolute by always starting them with `crate` or the crate name they refer to." | 427 | "Force import paths to be absolute by always starting them with `crate` or the extern crate name they come from." |
428 | ] | 428 | ] |
429 | }, | 429 | }, |
430 | "rust-analyzer.assist.importGroup": { | 430 | "rust-analyzer.assist.importGroup": { |