Mercurial > vim
view src/proto/cindent.pro @ 25463:05f9e8f2016c v8.2.3268
patch 8.2.3268: cannot use a block with :autocmd like with :command
Commit: https://github.com/vim/vim/commit/73b8b0ae3acac220e823076f8ca1c14524ed96dd
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Aug 1 14:52:32 2021 +0200
patch 8.2.3268: cannot use a block with :autocmd like with :command
Problem: Cannot use a block with :autocmd like with :command.
Solution: Add support for a {} block after :autocmd. (closes https://github.com/vim/vim/issues/8620)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sun, 01 Aug 2021 15: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 : */