@@ -348,7 +348,7 @@ where
348 KeyEvent {
348 KeyEvent {
349 code: KeyCode::Enter,
349 code: KeyCode::Enter,
351− } => '\n', // TODO: we should be calling doc.line_ending() here
351+ } => '\n',
352 KeyEvent {
352 KeyEvent {
353 code: KeyCode::Char(ch),
353 code: KeyCode::Char(ch),
@@ -476,7 +476,7 @@ pub fn replace(cx: &mut Context) {
476 KeyEvent {
476 KeyEvent {
477 code: KeyCode::Enter,
477 code: KeyCode::Enter,
479− } => Some('\n'), // TODO: we should be calling doc.line_ending() here
479+ } => Some('\n'),
480 _ => None,
480 _ => None,