aboutsummaryrefslogtreecommitdiff
path: root/helix-view/src
diff options
context:
space:
mode:
authorTermina942022-06-21 16:52:25 +0000
committerGitHub2022-06-21 16:52:25 +0000
commita17626a822b36d4de3146c2d410f976e19dd189c (patch)
tree555b9544fac260275776b5ad3d4a7ef028d98e9a /helix-view/src
parent8e8367eea6ff146c7e1097af153398832691e078 (diff)
add history suggest to global search (#2717)
Co-authored-by: Dean Revell <revell@gmail.com>
Diffstat (limited to 'helix-view/src')
-rw-r--r--helix-view/src/tree.rs1
1 files changed, 0 insertions, 1 deletions
diff --git a/helix-view/src/tree.rs b/helix-view/src/tree.rs
index e6dba916..3ba85b56 100644
--- a/helix-view/src/tree.rs
+++ b/helix-view/src/tree.rs
@@ -233,7 +233,6 @@ impl Tree {
{
if let Some(pos) = container.children.iter().position(|&child| child == index) {
container.children.remove(pos);
-
// TODO: if container now only has one child, remove it and place child in parent
if container.children.is_empty() && parent_id != self.root {
// if container now empty, remove it