Mercurial > vim
view src/proto/cindent.pro @ 32559:fb453aba3d2b v9.0.1611
patch 9.0.1611: v:maxcol can be changed in a :for loop
Commit: https://github.com/vim/vim/commit/16d2c02c80e6d4822010816e085cabf91bf91423
Author: Bram Moolenaar <Bram@vim.org>
Date: Mon Jun 5 19:46:18 2023 +0100
patch 9.0.1611: v:maxcol can be changed in a :for loop
Problem: v:maxcol can be changed in a :for loop.
Solution: Check for read-only loop variable. (closes https://github.com/vim/vim/issues/12470)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Mon, 05 Jun 2023 21:00:05 +0200 |
parents | 0d798c7e1865 |
children |
line wrap: on
line source
/* cindent.c */ int cin_is_cinword(char_u *line); int is_pos_in_string(char_u *line, colnr_T col); 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 : */