mirror of
https://github.com/neovim/neovim.git
synced 2025-09-27 05:28:33 +00:00
vim-patch:8.0.1494: no autocmd triggered in Insert mode with visible popup menu
Problem: No autocmd triggered in Insert mode with visible popup menu.
Solution: Add TextChangedP. (Prabir Shrestha, Christian Brabandt,
closes vim/vim#2372, closes vim/vim#1691)
Fix that the TextChanged autocommands are not always triggered
when sourcing a script.
5a09343719
This commit is contained in:

committed by
chemzqm

parent
36b2e3f743
commit
021c5875c1
@@ -484,6 +484,11 @@ struct file_buffer {
|
||||
#define b_changedtick changedtick_di.di_tv.vval.v_number
|
||||
ChangedtickDictItem changedtick_di; // b:changedtick dictionary item.
|
||||
|
||||
varnumber_T b_last_changedtick; // b:changedtick when TextChanged or
|
||||
// TextChangedI was last triggered.
|
||||
varnumber_T b_last_changedtick_pum; // b:changedtick when TextChangedP was
|
||||
// last triggered.
|
||||
|
||||
bool b_saving; /* Set to true if we are in the middle of
|
||||
saving the buffer. */
|
||||
|
||||
|
Reference in New Issue
Block a user