diff options
author | Björn Linse <bjorn.linse@gmail.com> | 2017-11-22 22:35:20 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-11-22 22:35:20 +0100 |
commit | a4f6cec7a31ff8dbfa089b9e22227afbeb951e9b (patch) | |
tree | 9bcf55ca9e4ecdbea9390dc750d39027ba7d3acf /src/nvim/auevents.lua | |
parent | 9393be477a733183c2a992cc8728e3ebc65a3118 (diff) | |
download | rneovim-a4f6cec7a31ff8dbfa089b9e22227afbeb951e9b.tar.gz rneovim-a4f6cec7a31ff8dbfa089b9e22227afbeb951e9b.tar.bz2 rneovim-a4f6cec7a31ff8dbfa089b9e22227afbeb951e9b.zip |
cmdline: CmdlineEnter and CmdlineLeave autocommands (#7422)
vim-patch:fafcf0dd59fd
patch 8.0.1206: no autocmd for entering or leaving the command line
Problem: No autocmd for entering or leaving the command line.
Solution: Add CmdlineEnter and CmdlineLeave.
https://github.com/vim/vim/commit/fafcf0dd59fd9c4ef743bb333ae40d1d322b6079
Diffstat (limited to 'src/nvim/auevents.lua')
-rw-r--r-- | src/nvim/auevents.lua | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/nvim/auevents.lua b/src/nvim/auevents.lua index 68a47c244f..7dfaf54ff0 100644 --- a/src/nvim/auevents.lua +++ b/src/nvim/auevents.lua @@ -19,6 +19,8 @@ return { 'BufWriteCmd', -- write buffer using command 'BufWritePost', -- after writing a buffer 'BufWritePre', -- before writing a buffer + '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 |