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.
This commit is contained in:
Bram Moolenaar
2022-10-15 16:41:53 +01:00
parent a2e4e0fc3b
commit c8b6735573
3 changed files with 9 additions and 1 deletions

View File

@ -4119,6 +4119,11 @@ do_pending_operator(cmdarg_T *cap, int old_col, int gui_yank)
{
if (curbuf->b_p_lisp)
{
#ifdef FEAT_EVAL
if (use_indentexpr_for_lisp())
op_reindent(oap, get_expr_indent);
else
#endif
op_reindent(oap, get_lisp_indent);
break;
}

View File

@ -114,6 +114,7 @@ let test_values = {
\ 'keymap': [['', 'accents'], ['xxx']],
\ 'keymodel': [['', 'startsel', 'startsel,stopsel'], ['xxx']],
\ 'langmap': [['', 'xX', 'aA,bB'], ['xxx']],
\ 'lispoptions': [['', 'expr:0', 'expr:1'], ['xxx']],
\ 'listchars': [['', 'eol:x', 'eol:x,space:y'], ['xxx']],
\ 'matchpairs': [['', '(:)', '(:),<:>'], ['xxx']],
\ 'mkspellmem': [['10000,100,12'], ['', 'xxx']],

View File

@ -695,6 +695,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
764,
/**/
763,
/**/