summaryrefslogtreecommitdiff
path: root/helix-core
diff options
context:
space:
mode:
authorNathan Vegdahl2021-07-01 20:15:16 +0000
committerNathan Vegdahl2021-07-02 02:06:52 +0000
commitc389f41f1430e5ce39682eda4425553f3ba129d4 (patch)
tree3beef2d40d2aed4e17fea76d1f1e2de829bfd361 /helix-core
parent220bc85821d87f65630601dedd219fd2fa41c0ea (diff)
Fix one of the two remaining warnings.
One of them was a lot more obvious than I thought.
Diffstat (limited to 'helix-core')
-rw-r--r--helix-core/src/syntax.rs1
1 files changed, 0 insertions, 1 deletions
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;