diff --git a/src/main.cc b/src/main.cc index 29b455b5..b20a917c 100644 --- a/src/main.cc +++ b/src/main.cc @@ -172,6 +172,8 @@ static InsertMode adapt_for_linewise(InsertMode mode) return InsertMode::AppendAtLineEnd; if (mode == InsertMode::Insert) return InsertMode::InsertAtLineBegin; + if (mode == InsertMode::Replace) + return InsertMode::Replace; assert(false); return InsertMode::Insert;