mirror of
https://github.com/neovim/neovim.git
synced 2025-10-05 17:36:29 +00:00
fix: rename to BufModifiedSet
This commit is contained in:
@@ -1489,10 +1489,10 @@ static void ins_redraw(
|
||||
}
|
||||
|
||||
// Trigger BufModified if b_changed_notified is false.
|
||||
if (ready && has_event(EVENT_BUFMODIFIED)
|
||||
if (ready && has_event(EVENT_BUFMODIFIEDSET)
|
||||
&& curbuf->b_changed_notified == false
|
||||
&& !pum_visible()) {
|
||||
apply_autocmds(EVENT_BUFMODIFIED, NULL, NULL, false, curbuf);
|
||||
apply_autocmds(EVENT_BUFMODIFIEDSET, NULL, NULL, false, curbuf);
|
||||
curbuf->b_changed_notified = true;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user