diff --git a/src/normal.cc b/src/normal.cc index 25df66b3..27bdb3dd 100644 --- a/src/normal.cc +++ b/src/normal.cc @@ -1204,6 +1204,7 @@ void indent(Context& context, NormalParams params) CharCount indent_width = context.options()["indentwidth"].get(); String indent = indent_width == 0 ? String{'\t', count} : String{' ', indent_width * count}; + ScopedEdition edition(context); auto& buffer = context.buffer(); LineCount last_line = 0; for (auto& sel : context.selections())