Mercurial > vim
view src/proto/cindent.pro @ 22045:47ff9e5be532 v8.2.1572
patch 8.2.1572: Vim9: expand() does not take "true" as argument
Commit: https://github.com/vim/vim/commit/551d25e76545df785a9f62df52f34bc1dd368bfb
Author: Bram Moolenaar <Bram@vim.org>
Date: Wed Sep 2 21:37:56 2020 +0200
patch 8.2.1572: Vim9: expand() does not take "true" as argument
Problem: Vim9: expand() does not take "true" as argument.
Solution: Use tv_get_bool_chk(). (closes https://github.com/vim/vim/issues/6819)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Wed, 02 Sep 2020 21:45:04 +0200 |
parents | fe5afdc03bd2 |
children | 0d798c7e1865 |
line wrap: on
line source
/* cindent.c */ int cin_is_cinword(char_u *line); pos_T *find_start_comment(int ind_maxcomment); int cindent_on(void); void parse_cino(buf_T *buf); int get_c_indent(void); int in_cinkeys(int keytyped, int when, int line_is_empty); void do_c_expr_indent(void); void f_cindent(typval_T *argvars, typval_T *rettv); /* vim: set ft=c : */