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

@@ -7,6 +7,7 @@ return {
'BufFilePre', -- before renaming a buffer
'BufHidden', -- just after buffer becomes hidden
'BufLeave', -- before leaving a buffer
'BufModified', -- after the 'modified' state of a buffer changes
'BufNew', -- after creating any buffer
'BufNewFile', -- when creating a buffer for a new file
'BufReadCmd', -- read buffer using command
@@ -124,6 +125,7 @@ return {
-- List of nvim-specific events or aliases for the purpose of generating
-- syntax file
nvim_specific = {
BufModified=true,
DirChanged=true,
Signal=true,
TabClosed=true,