aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/auevents.lua
diff options
context:
space:
mode:
authorBjörn Linse <bjorn.linse@gmail.com>2017-05-14 07:43:07 +0200
committerBjörn Linse <bjorn.linse@gmail.com>2018-05-23 18:18:16 +0200
commit6da4548f0e7ccaf2b3271c0b0d59b5c8869792a7 (patch)
tree7a6e50a3e6ecff85882d91f0a503a212312ee334 /src/nvim/auevents.lua
parentf1bc152fa081f5d630ea1a027aa5bd00bdbb78f0 (diff)
downloadrneovim-6da4548f0e7ccaf2b3271c0b0d59b5c8869792a7.tar.gz
rneovim-6da4548f0e7ccaf2b3271c0b0d59b5c8869792a7.tar.bz2
rneovim-6da4548f0e7ccaf2b3271c0b0d59b5c8869792a7.zip
api: list information about all channels/jobs.
Fire autocmd when channel opens or its info changes. Add a way for API clients can describe themselves.
Diffstat (limited to 'src/nvim/auevents.lua')
-rw-r--r--src/nvim/auevents.lua2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/nvim/auevents.lua b/src/nvim/auevents.lua
index f07a92ab87..d0a3f38c6b 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
+ 'ChanOpen', -- channel was opened
+ 'ChanInfo', -- info was received about channel
'CmdLineEnter', -- after entering cmdline mode
'CmdLineLeave', -- before leaving cmdline mode
'CmdUndefined', -- command undefined