Mercurial > vim
diff src/indent.c @ 27521:3ad379c0ab28 v8.2.4288
patch 8.2.4288: preprocessor indents are inconsistent
Commit: https://github.com/vim/vim/commit/6e1d31e9e3ca42cb883abca198f011dc6f4ceb14
Author: K.Takata <kentkt@csc.jp>
Date: Thu Feb 3 13:05:32 2022 +0000
patch 8.2.4288: preprocessor indents are inconsistent
Problem: Preprocessor indents are inconsistent.
Solution: Fix preprocessor indents. (Ken Takata, closes https://github.com/vim/vim/issues/9691)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Thu, 03 Feb 2022 14:15:03 +0100 |
parents | c1702fd7e716 |
children | 8e8fb566dfa5 |
line wrap: on
line diff
--- a/src/indent.c +++ b/src/indent.c @@ -2173,7 +2173,7 @@ f_indent(typval_T *argvars, typval_T *re void f_lispindent(typval_T *argvars UNUSED, typval_T *rettv) { -#ifdef FEAT_LISP +# ifdef FEAT_LISP pos_T pos; linenr_T lnum; @@ -2191,7 +2191,7 @@ f_lispindent(typval_T *argvars UNUSED, t else if (in_vim9script()) semsg(_(e_invalid_line_number_nr), lnum); else -#endif +# endif rettv->vval.v_number = -1; } #endif