From b7fda5f936737aa1111599f93cb3133fa7f65ee4 Mon Sep 17 00:00:00 2001 From: vsrs Date: Wed, 2 Sep 2020 13:25:33 +0300 Subject: Make method references CodeLens off by default. --- crates/rust-analyzer/src/config.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'crates') 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 { impl Default for LensConfig { fn default() -> Self { - Self { run: true, debug: true, implementations: true, method_refs: true } + Self { run: true, debug: true, implementations: true, method_refs: false } } } @@ -467,7 +467,7 @@ config_data! { lens_enable: bool = true, lens_implementations: bool = true, lens_run: bool = true, - lens_methodReferences: bool = true, + lens_methodReferences: bool = false, linkedProjects: Vec = Vec::new(), lruCapacity: Option = None, -- cgit v1.2.3