diff options
author | vsrs <[email protected]> | 2020-09-02 11:25:33 +0100 |
---|---|---|
committer | vsrs <[email protected]> | 2020-09-29 13:29:20 +0100 |
commit | b7fda5f936737aa1111599f93cb3133fa7f65ee4 (patch) | |
tree | 85f18a328c0eed14f885f539bfcfeeb68821497f /crates | |
parent | eeb40dbece3421d685c75bf2860610e6fd3b7b73 (diff) |
Make method references CodeLens off by default.
Diffstat (limited to 'crates')
-rw-r--r-- | crates/rust-analyzer/src/config.rs | 4 |
1 files changed, 2 insertions, 2 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, |