vim-patch:9.0.0764: indent and option tests fail

Problem:    Indent and option tests fail.
Solution:   Change OP_INDENT.  Add entry to options test table.
c8b6735573
This commit is contained in:
zeertzjq 2022-10-16 08:34:09 +08:00
parent 19eb7054ff
commit c8fbf39d47

View File

@ -6206,7 +6206,11 @@ void do_pending_operator(cmdarg_T *cap, int old_col, bool gui_yank)
// If 'equalprg' is empty, do the indenting internally.
if (oap->op_type == OP_INDENT && *get_equalprg() == NUL) {
if (curbuf->b_p_lisp) {
op_reindent(oap, get_lisp_indent);
if (use_indentexpr_for_lisp()) {
op_reindent(oap, get_expr_indent);
} else {
op_reindent(oap, get_lisp_indent);
}
break;
}
op_reindent(oap,