feat: implement BufModified autocmd

This commit is contained in:
Rom Grk
2020-11-02 02:11:22 -05:00
parent 643f4a1787
commit 24db59ca8f
5 changed files with 25 additions and 0 deletions

View File

@@ -541,6 +541,8 @@ struct file_buffer {
int b_changed; // 'modified': Set to true if something in the
// file has been changed and not written out.
bool b_changed_notified; // if the BufModified autocmd has been triggered
// since the last time b_changed was modified
/// Change-identifier incremented for each change, including undo.
///