diff options
author | rover <pathfinder2013@126.com> | 2017-01-08 21:05:41 +0800 |
---|---|---|
committer | rover <pathfinder2013@126.com> | 2017-01-08 22:46:08 +0800 |
commit | c2344f3d31fe6a006027dbf88873ee0916b73028 (patch) | |
tree | 00c08ee4d4a79beebe324e0da25c8caa1533d8b0 /src/nvim/auevents.lua | |
parent | 888cdce3aa70c5800916b0d54ab40e8ac01d704a (diff) | |
download | rneovim-c2344f3d31fe6a006027dbf88873ee0916b73028.tar.gz rneovim-c2344f3d31fe6a006027dbf88873ee0916b73028.tar.bz2 rneovim-c2344f3d31fe6a006027dbf88873ee0916b73028.zip |
vim-patch:7.4.2075
Problem: No autocommand event to initialize a window or tab page.
Solution: Add WinNew and TabNew events. (partly by Felipe Morales)
https://github.com/vim/vim/commit/c917da4b3e8801a255dbefea8e4ed19c1c716dd8
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 8d891effae..b405928577 100644 --- a/src/nvim/auevents.lua +++ b/src/nvim/auevents.lua @@ -89,6 +89,7 @@ return { 'VimLeave', -- before exiting Vim 'VimLeavePre', -- before exiting Vim and writing ShaDa file 'VimResized', -- after Vim window was resized + 'WinNew', -- when entering a new window 'WinEnter', -- after entering a window 'WinLeave', -- before leaving a window }, |