diff options
-rw-r--r-- | crates/rust-analyzer/src/config.rs | 4 | ||||
-rw-r--r-- | editors/code/package.json | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/crates/rust-analyzer/src/config.rs b/crates/rust-analyzer/src/config.rs index fa8472e62..42e1ad376 100644 --- a/crates/rust-analyzer/src/config.rs +++ b/crates/rust-analyzer/src/config.rs | |||
@@ -79,7 +79,7 @@ pub struct LensConfig { | |||
79 | 79 | ||
80 | impl Default for LensConfig { | 80 | impl Default for LensConfig { |
81 | fn default() -> Self { | 81 | fn default() -> Self { |
82 | Self { run: true, debug: true, implementations: true, method_refs: true } | 82 | Self { run: true, debug: true, implementations: true, method_refs: false } |
83 | } | 83 | } |
84 | } | 84 | } |
85 | 85 | ||
@@ -467,7 +467,7 @@ config_data! { | |||
467 | lens_enable: bool = true, | 467 | lens_enable: bool = true, |
468 | lens_implementations: bool = true, | 468 | lens_implementations: bool = true, |
469 | lens_run: bool = true, | 469 | lens_run: bool = true, |
470 | lens_methodReferences: bool = true, | 470 | lens_methodReferences: bool = false, |
471 | 471 | ||
472 | linkedProjects: Vec<ManifestOrProjectJson> = Vec::new(), | 472 | linkedProjects: Vec<ManifestOrProjectJson> = Vec::new(), |
473 | lruCapacity: Option<usize> = None, | 473 | lruCapacity: Option<usize> = None, |
diff --git a/editors/code/package.json b/editors/code/package.json index 4414b3e66..bdd8a0c29 100644 --- a/editors/code/package.json +++ b/editors/code/package.json | |||
@@ -557,7 +557,7 @@ | |||
557 | "rust-analyzer.lens.methodReferences": { | 557 | "rust-analyzer.lens.methodReferences": { |
558 | "markdownDescription": "Whether to show `Method References` lens. Only applies when `#rust-analyzer.lens.enable#` is set.", | 558 | "markdownDescription": "Whether to show `Method References` lens. Only applies when `#rust-analyzer.lens.enable#` is set.", |
559 | "type": "boolean", | 559 | "type": "boolean", |
560 | "default": true | 560 | "default": false |
561 | }, | 561 | }, |
562 | "rust-analyzer.hoverActions.enable": { | 562 | "rust-analyzer.hoverActions.enable": { |
563 | "description": "Whether to show HoverActions in Rust files.", | 563 | "description": "Whether to show HoverActions in Rust files.", |