fix incorrect name for UpdateTest config

This commit is contained in:
roife 2024-12-25 22:24:22 +08:00
parent c30e9c0618
commit c54bfcb181
3 changed files with 4 additions and 4 deletions

View file

@ -248,7 +248,7 @@ config_data! {
lens_run_enable: bool = true, lens_run_enable: bool = true,
/// Whether to show `Update Test` lens. Only applies when /// Whether to show `Update Test` lens. Only applies when
/// `#rust-analyzer.lens.enable#` and `#rust-analyzer.lens.run.enable#` are set. /// `#rust-analyzer.lens.enable#` and `#rust-analyzer.lens.run.enable#` are set.
lens_update_test_enable: bool = true, lens_updateTest_enable: bool = true,
/// Disable project auto-discovery in favor of explicitly specified set /// Disable project auto-discovery in favor of explicitly specified set
/// of projects. /// of projects.
@ -2134,7 +2134,7 @@ impl Config {
run: *self.lens_enable() && *self.lens_run_enable(), run: *self.lens_enable() && *self.lens_run_enable(),
debug: *self.lens_enable() && *self.lens_debug_enable(), debug: *self.lens_enable() && *self.lens_debug_enable(),
update_test: *self.lens_enable() update_test: *self.lens_enable()
&& *self.lens_update_test_enable() && *self.lens_updateTest_enable()
&& *self.lens_run_enable(), && *self.lens_run_enable(),
interpret: *self.lens_enable() && *self.lens_run_enable() && *self.interpret_tests(), interpret: *self.lens_enable() && *self.lens_run_enable() && *self.interpret_tests(),
implementations: *self.lens_enable() && *self.lens_implementations_enable(), implementations: *self.lens_enable() && *self.lens_implementations_enable(),

View file

@ -814,7 +814,7 @@ Only applies when `#rust-analyzer.lens.enable#` is set.
Whether to show `Run` lens. Only applies when Whether to show `Run` lens. Only applies when
`#rust-analyzer.lens.enable#` is set. `#rust-analyzer.lens.enable#` is set.
-- --
[[rust-analyzer.lens.update.test.enable]]rust-analyzer.lens.update.test.enable (default: `true`):: [[rust-analyzer.lens.updateTest.enable]]rust-analyzer.lens.updateTest.enable (default: `true`)::
+ +
-- --
Whether to show `Update Test` lens. Only applies when Whether to show `Update Test` lens. Only applies when

View file

@ -2313,7 +2313,7 @@
{ {
"title": "lens", "title": "lens",
"properties": { "properties": {
"rust-analyzer.lens.update.test.enable": { "rust-analyzer.lens.updateTest.enable": {
"markdownDescription": "Whether to show `Update Test` lens. Only applies when\n`#rust-analyzer.lens.enable#` and `#rust-analyzer.lens.run.enable#` are set.", "markdownDescription": "Whether to show `Update Test` lens. Only applies when\n`#rust-analyzer.lens.enable#` and `#rust-analyzer.lens.run.enable#` are set.",
"default": true, "default": true,
"type": "boolean" "type": "boolean"