Skip to content

Commit c54bfcb

Browse files
committed
fix incorrect name for UpdateTest config
1 parent c30e9c0 commit c54bfcb

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

crates/rust-analyzer/src/config.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -248,7 +248,7 @@ config_data! {
248248
lens_run_enable: bool = true,
249249
/// Whether to show `Update Test` lens. Only applies when
250250
/// `#rust-analyzer.lens.enable#` and `#rust-analyzer.lens.run.enable#` are set.
251-
lens_update_test_enable: bool = true,
251+
lens_updateTest_enable: bool = true,
252252

253253
/// Disable project auto-discovery in favor of explicitly specified set
254254
/// of projects.
@@ -2134,7 +2134,7 @@ impl Config {
21342134
run: *self.lens_enable() && *self.lens_run_enable(),
21352135
debug: *self.lens_enable() && *self.lens_debug_enable(),
21362136
update_test: *self.lens_enable()
2137-
&& *self.lens_update_test_enable()
2137+
&& *self.lens_updateTest_enable()
21382138
&& *self.lens_run_enable(),
21392139
interpret: *self.lens_enable() && *self.lens_run_enable() && *self.interpret_tests(),
21402140
implementations: *self.lens_enable() && *self.lens_implementations_enable(),

docs/user/generated_config.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -814,7 +814,7 @@ Only applies when `#rust-analyzer.lens.enable#` is set.
814814
Whether to show `Run` lens. Only applies when
815815
`#rust-analyzer.lens.enable#` is set.
816816
--
817-
[[rust-analyzer.lens.update.test.enable]]rust-analyzer.lens.update.test.enable (default: `true`)::
817+
[[rust-analyzer.lens.updateTest.enable]]rust-analyzer.lens.updateTest.enable (default: `true`)::
818818
+
819819
--
820820
Whether to show `Update Test` lens. Only applies when

editors/code/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2313,7 +2313,7 @@
23132313
{
23142314
"title": "lens",
23152315
"properties": {
2316-
"rust-analyzer.lens.update.test.enable": {
2316+
"rust-analyzer.lens.updateTest.enable": {
23172317
"markdownDescription": "Whether to show `Update Test` lens. Only applies when\n`#rust-analyzer.lens.enable#` and `#rust-analyzer.lens.run.enable#` are set.",
23182318
"default": true,
23192319
"type": "boolean"

0 commit comments

Comments
 (0)