From c389f41f1430e5ce39682eda4425553f3ba129d4 Mon Sep 17 00:00:00 2001 From: Nathan Vegdahl Date: Thu, 1 Jul 2021 13:15:16 -0700 Subject: [PATCH] Fix one of the two remaining warnings. One of them was a lot more obvious than I thought. --- helix-core/src/syntax.rs | 1 - 1 file changed, 1 deletion(-) diff --git a/helix-core/src/syntax.rs b/helix-core/src/syntax.rs index 14d972a1..9ecc55e8 100644 --- a/helix-core/src/syntax.rs +++ b/helix-core/src/syntax.rs @@ -1481,7 +1481,6 @@ where // local scope at the top of the scope stack. else if Some(capture.index) == layer.config.local_def_capture_index { reference_highlight = None; - definition_highlight = None; let scope = layer.scope_stack.last_mut().unwrap(); let mut value_range = 0..0;