Skip to content

Commit

Permalink
fixup! WIP: split out functions, behave more like vim splits
Browse files Browse the repository at this point in the history
  • Loading branch information
cole-h committed Nov 12, 2021
1 parent 03a7b2d commit 68d0fa0
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion helix-view/src/editor.rs
Original file line number Diff line number Diff line change
Expand Up @@ -482,7 +482,6 @@ impl Editor {
let doc_id = doc_id.unwrap_or_else(|| self.new_document(Document::default()));

self.replace_document_in_view(view_id, doc_id);
self._refresh();
}

if !self.tree.views().any(|(view, _)| view.doc == doc_id) {
Expand Down

0 comments on commit 68d0fa0

Please sign in to comment.