diff options
Diffstat (limited to 'src/nvim/auevents.lua')
-rw-r--r-- | src/nvim/auevents.lua | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/src/nvim/auevents.lua b/src/nvim/auevents.lua index d0a3f38c6b..a6290aaac1 100644 --- a/src/nvim/auevents.lua +++ b/src/nvim/auevents.lua @@ -19,14 +19,15 @@ return { 'BufWriteCmd', -- write buffer using command 'BufWritePost', -- after writing a buffer 'BufWritePre', -- before writing a buffer - 'ChanOpen', -- channel was opened 'ChanInfo', -- info was received about channel + 'ChanOpen', -- channel was opened 'CmdLineEnter', -- after entering cmdline mode 'CmdLineLeave', -- before leaving cmdline mode 'CmdUndefined', -- command undefined 'CmdWinEnter', -- after entering the cmdline window 'CmdWinLeave', -- before leaving the cmdline window 'ColorScheme', -- after loading a colorscheme + 'ColorSchemePre', -- before loading a colorscheme 'CompleteDone', -- after finishing insert complete 'CursorHold', -- cursor in same position for a while 'CursorHoldI', -- idem, in Insert mode @@ -34,6 +35,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 @@ -97,9 +99,9 @@ return { 'VimResized', -- after Vim window was resized 'VimResume', -- after Nvim is resumed 'VimSuspend', -- before Nvim is suspended - 'WinNew', -- when entering a new window 'WinEnter', -- after entering a window 'WinLeave', -- before leaving a window + 'WinNew', -- when entering a new window }, aliases = { BufCreate = 'BufAdd', @@ -107,9 +109,9 @@ return { BufWrite = 'BufWritePre', FileEncoding = 'EncodingChanged', }, - -- List of neovim-specific events or aliases for the purpose of generating + -- List of nvim-specific events or aliases for the purpose of generating -- syntax file - neovim_specific = { + nvim_specific = { DirChanged=true, TabClosed=true, TabNew=true, |