aboutsummaryrefslogtreecommitdiff
path: root/helix-term
diff options
context:
space:
mode:
Diffstat (limited to 'helix-term')
-rw-r--r--helix-term/src/commands.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/helix-term/src/commands.rs b/helix-term/src/commands.rs
index 144e1f3c..31e80345 100644
--- a/helix-term/src/commands.rs
+++ b/helix-term/src/commands.rs
@@ -348,7 +348,7 @@ where
KeyEvent {
code: KeyCode::Enter,
..
- } => '\n', // TODO: we should be calling doc.line_ending() here
+ } => '\n',
KeyEvent {
code: KeyCode::Char(ch),
..
@@ -476,7 +476,7 @@ pub fn replace(cx: &mut Context) {
KeyEvent {
code: KeyCode::Enter,
..
- } => Some('\n'), // TODO: we should be calling doc.line_ending() here
+ } => Some('\n'),
_ => None,
};