mirror of
https://github.com/rust-lang/rust-analyzer
synced 2025-01-11 20:58:54 +00:00
fix incorrect name for UpdateTest config
This commit is contained in:
parent
c30e9c0618
commit
c54bfcb181
3 changed files with 4 additions and 4 deletions
|
@ -248,7 +248,7 @@ config_data! {
|
|||
lens_run_enable: bool = true,
|
||||
/// Whether to show `Update Test` lens. Only applies when
|
||||
/// `#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
|
||||
/// of projects.
|
||||
|
@ -2134,7 +2134,7 @@ impl Config {
|
|||
run: *self.lens_enable() && *self.lens_run_enable(),
|
||||
debug: *self.lens_enable() && *self.lens_debug_enable(),
|
||||
update_test: *self.lens_enable()
|
||||
&& *self.lens_update_test_enable()
|
||||
&& *self.lens_updateTest_enable()
|
||||
&& *self.lens_run_enable(),
|
||||
interpret: *self.lens_enable() && *self.lens_run_enable() && *self.interpret_tests(),
|
||||
implementations: *self.lens_enable() && *self.lens_implementations_enable(),
|
||||
|
|
|
@ -814,7 +814,7 @@ Only applies when `#rust-analyzer.lens.enable#` is set.
|
|||
Whether to show `Run` lens. Only applies when
|
||||
`#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
|
||||
|
|
|
@ -2313,7 +2313,7 @@
|
|||
{
|
||||
"title": "lens",
|
||||
"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.",
|
||||
"default": true,
|
||||
"type": "boolean"
|
||||
|
|
Loading…
Reference in a new issue