aboutsummaryrefslogtreecommitdiff
path: root/helix-view/src/commands.rs
diff options
context:
space:
mode:
authorBlaž Hrastnik2020-10-15 14:31:37 +0000
committerBlaž Hrastnik2020-10-15 14:31:37 +0000
commit16828d322a13be5b6f9adb680742cdc2570fbf17 (patch)
treeab29ff0f8633417774e8eb141e061089096ba746 /helix-view/src/commands.rs
parent6e658aae1c05fdd9f9ee36b39a948028bcaad446 (diff)
wip
Diffstat (limited to 'helix-view/src/commands.rs')
-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'))));