Mercurial > vim
view src/proto/cindent.pro @ 27275:841145bb9885 v8.2.4166
patch 8.2.4166: undo synced when switching buffer in another window
Commit: https://github.com/vim/vim/commit/e615db06046312e74886fa1ef98feb5a9db2a7c3
Author: Bram Moolenaar <Bram@vim.org>
Date: Thu Jan 20 21:00:54 2022 +0000
patch 8.2.4166: undo synced when switching buffer in another window
Problem: Undo synced when switching buffer in another window.
Solution: Do not sync undo when not needed. (closes https://github.com/vim/vim/issues/9575)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Thu, 20 Jan 2022 22:15:03 +0100 |
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 : */