diff options
author | Jan Edmund Lazo <janedmundlazo@hotmail.com> | 2018-09-04 21:57:45 -0400 |
---|---|---|
committer | Jan Edmund Lazo <janedmundlazo@hotmail.com> | 2018-09-04 22:40:48 -0400 |
commit | 958467456930badcaf218b6fac56b105ac7655c8 (patch) | |
tree | a457601f6ac69690b9f894338ba5dfdef4c8581b /src/nvim/auevents.lua | |
parent | b6e83ba28469345ee145ab6da2c4ef7f3285d726 (diff) | |
download | rneovim-958467456930badcaf218b6fac56b105ac7655c8.tar.gz rneovim-958467456930badcaf218b6fac56b105ac7655c8.tar.bz2 rneovim-958467456930badcaf218b6fac56b105ac7655c8.zip |
vim-patch:8.0.1595: no autocommand triggered before exiting
Problem: No autocommand triggered before exiting.
Solution: Add the ExitPre autocommand event.
https://github.com/vim/vim/commit/12a96de430779b88795fac87a2be666d9f661d1e
Diffstat (limited to 'src/nvim/auevents.lua')
-rw-r--r-- | src/nvim/auevents.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/nvim/auevents.lua b/src/nvim/auevents.lua index d0a3f38c6b..d002aaae43 100644 --- a/src/nvim/auevents.lua +++ b/src/nvim/auevents.lua @@ -34,6 +34,7 @@ return { 'CursorMovedI', -- cursor was moved in Insert mode 'DirChanged', -- directory changed 'EncodingChanged', -- after changing the 'encoding' option + 'ExitPre', -- before exiting 'FileAppendCmd', -- append to a file using command 'FileAppendPost', -- after appending to a file 'FileAppendPre', -- before appending to a file |