From b58c1c9eb2b19479018add616592b73e3b933b77 Mon Sep 17 00:00:00 2001 From: Lukas Wirth Date: Sun, 13 Jun 2021 22:00:39 +0200 Subject: Give ImportPrefix variants better config names --- editors/code/package.json | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'editors') 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 @@ "type": "string", "enum": [ "plain", - "by_self", - "by_crate" + "self", + "crate" ], "enumDescriptions": [ "Insert import paths relative to the current module, using up to one `super` prefix if the parent module contains the requested item.", - "Prefix all import paths with `self` if they don't begin with `self`, `super`, `crate` or a crate name.", - "Force import paths to be absolute by always starting them with `crate` or the crate name they refer to." + "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.", + "Force import paths to be absolute by always starting them with `crate` or the extern crate name they come from." ] }, "rust-analyzer.assist.importGroup": { -- cgit v1.2.3