# HG changeset patch # User Bram Moolenaar # Date 1665848702 -7200 # Node ID e4240d068787811da9ee8863256c2731c958abd9 # Parent 15bd708a797d1fd32b29fa44ad743d3f505d53f9 patch 9.0.0764: indent and option tests fail Commit: https://github.com/vim/vim/commit/c8b673557390e5cd20bc0a4c2786d0db1d77a24c Author: Bram Moolenaar Date: Sat Oct 15 16:41:53 2022 +0100 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. diff --git a/src/ops.c b/src/ops.c --- a/src/ops.c +++ b/src/ops.c @@ -4119,7 +4119,12 @@ do_pending_operator(cmdarg_T *cap, int o { if (curbuf->b_p_lisp) { - op_reindent(oap, get_lisp_indent); +#ifdef FEAT_EVAL + if (use_indentexpr_for_lisp()) + op_reindent(oap, get_expr_indent); + else +#endif + op_reindent(oap, get_lisp_indent); break; } op_reindent(oap, diff --git a/src/testdir/gen_opt_test.vim b/src/testdir/gen_opt_test.vim --- a/src/testdir/gen_opt_test.vim +++ b/src/testdir/gen_opt_test.vim @@ -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']], diff --git a/src/version.c b/src/version.c --- a/src/version.c +++ b/src/version.c @@ -696,6 +696,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 764, +/**/ 763, /**/ 762,