@@ -348,7 +348,7 @@ where
348348 KeyEvent {
349349 code: KeyCode::Enter,
350350 ..
351− } => '\n', // TODO: we should be calling doc.line_ending() here
351+ } => '\n',
352352 KeyEvent {
353353 code: KeyCode::Char(ch),
354354 ..
@@ -476,7 +476,7 @@ pub fn replace(cx: &mut Context) {
476476 KeyEvent {
477477 code: KeyCode::Enter,
478478 ..
479− } => Some('\n'), // TODO: we should be calling doc.line_ending() here
479+ } => Some('\n'),
480480 _ => None,
481481 };
482482