aboutsummaryrefslogtreecommitdiff
path: root/helix-view/src
diff options
context:
space:
mode:
Diffstat (limited to 'helix-view/src')
-rw-r--r--helix-view/src/commands.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/helix-view/src/commands.rs b/helix-view/src/commands.rs
index 542c28ee..09c6b2fc 100644
--- a/helix-view/src/commands.rs
+++ b/helix-view/src/commands.rs
@@ -349,6 +349,7 @@ pub fn open_below(view: &mut View, _count: usize) {
})
.collect();
+ // TODO: use same logic as insert_newline for indentation
let changes = positions.iter().copied().map(|index|
// generate changes
(index, index, Some(Tendril::from_char('\n'))));