Mercurial > vim
view src/proto/ex_cmds2.pro @ 31271:985a3d6e1d4b v9.0.0969
patch 9.0.0969: matchparen highlight is not updated when switching buffers
Commit: https://github.com/vim/vim/commit/28a896f54d4b2f2b4bef8ef4144dde1673c9d6e7
Author: Bram Moolenaar <Bram@vim.org>
Date: Mon Nov 28 22:21:12 2022 +0000
patch 9.0.0969: matchparen highlight is not updated when switching buffers
Problem: Matchparen highlight is not updated when switching buffers.
Solution: Listen to the BufLeave and the BufWinEnter autocmd events.
(closes #11626)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Mon, 28 Nov 2022 23:30:03 +0100 |
parents | b32b67a108f2 |
children |
line wrap: on
line source
/* ex_cmds2.c */ int autowrite(buf_T *buf, int forceit); void autowrite_all(void); int check_changed(buf_T *buf, int flags); void browse_save_fname(buf_T *buf); void dialog_changed(buf_T *buf, int checkall); int can_abandon(buf_T *buf, int forceit); int check_changed_any(int hidden, int unload); int check_fname(void); int buf_write_all(buf_T *buf, int forceit); void ex_listdo(exarg_T *eap); void ex_compiler(exarg_T *eap); void init_pyxversion(void); void ex_pyxfile(exarg_T *eap); void ex_pyx(exarg_T *eap); void ex_pyxdo(exarg_T *eap); void ex_checktime(exarg_T *eap); /* vim: set ft=c : */