Mercurial > vim
view src/proto/cindent.pro @ 21475:eec2d2120cde v8.2.1288
patch 8.2.1288: Vim9: cannot use mark in range
Commit: https://github.com/vim/vim/commit/13e12b8a3c0fec29017f2dbdc6f57e372f8a7efd
Author: Bram Moolenaar <Bram@vim.org>
Date: Fri Jul 24 18:47:22 2020 +0200
patch 8.2.1288: Vim9: cannot use mark in range
Problem: Vim9: cannot use mark in range.
Solution: Use the flag that a colon was seen. (closes https://github.com/vim/vim/issues/6528)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Fri, 24 Jul 2020 19:00:05 +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 : */