about summary refs log tree commit diff
path: root/editors/code/package.json
diff options
context:
space:
mode:
authorLukas Wirth <lukastw97@gmail.com>2023-11-11 14:52:11 +0100
committerLukas Wirth <lukastw97@gmail.com>2023-11-11 14:56:38 +0100
commitba61766217444d980a3a20f378181e2ad388ab0e (patch)
treed73383e96fba34b44524788023d207680a5b1d4d /editors/code/package.json
parent801a887954fd985901c326ba25bc39256f2477e7 (diff)
downloadrust-ba61766217444d980a3a20f378181e2ad388ab0e.tar.gz
rust-ba61766217444d980a3a20f378181e2ad388ab0e.zip
Add config for preferring / ignoring prelude modules in find_path
Diffstat (limited to 'editors/code/package.json')
-rw-r--r--editors/code/package.json5
1 files changed, 5 insertions, 0 deletions
diff --git a/editors/code/package.json b/editors/code/package.json
index c7b877b2897..ef9dec5f147 100644
--- a/editors/code/package.json
+++ b/editors/code/package.json
@@ -1134,6 +1134,11 @@
                     "default": false,
                     "type": "boolean"
                 },
+                "rust-analyzer.imports.prefer.prelude": {
+                    "markdownDescription": "Whether to prefer import paths containing a `prelude` module.",
+                    "default": false,
+                    "type": "boolean"
+                },
                 "rust-analyzer.imports.prefix": {
                     "markdownDescription": "The path structure for newly inserted paths to use.",
                     "default": "plain",