fix adapt_for_linewise for Replace mode
This commit is contained in:
parent
cc876f7107
commit
6f2c69a0eb
|
@ -172,6 +172,8 @@ static InsertMode adapt_for_linewise(InsertMode mode)
|
||||||
return InsertMode::AppendAtLineEnd;
|
return InsertMode::AppendAtLineEnd;
|
||||||
if (mode == InsertMode::Insert)
|
if (mode == InsertMode::Insert)
|
||||||
return InsertMode::InsertAtLineBegin;
|
return InsertMode::InsertAtLineBegin;
|
||||||
|
if (mode == InsertMode::Replace)
|
||||||
|
return InsertMode::Replace;
|
||||||
|
|
||||||
assert(false);
|
assert(false);
|
||||||
return InsertMode::Insert;
|
return InsertMode::Insert;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user