mirror of
https://github.com/neovim/neovim.git
synced 2026-07-10 03:19:44 +00:00
feat(channel): add ChanClose event #40568
Problem: Plugins using RPC sockets cannot detect when the peer closes a `sockconnect()` channel, so reconnect logic has no reliable trigger. Solution: Add a `ChanClose` event with channel info before the channel is removed, matching the existing `ChanOpen`/`ChanInfo` event model.
This commit is contained in:
1
runtime/lua/vim/_meta/api_keysets.gen.lua
generated
1
runtime/lua/vim/_meta/api_keysets.gen.lua
generated
@@ -102,6 +102,7 @@ error('Cannot require a meta file')
|
||||
--- |'BufWriteCmd'
|
||||
--- |'BufWritePost'
|
||||
--- |'BufWritePre'
|
||||
--- |'ChanClose'
|
||||
--- |'ChanInfo'
|
||||
--- |'ChanOpen'
|
||||
--- |'CmdUndefined'
|
||||
|
||||
1
runtime/lua/vim/_meta/options.gen.lua
generated
1
runtime/lua/vim/_meta/options.gen.lua
generated
@@ -2191,6 +2191,7 @@ vim.go.ei = vim.go.eventignore
|
||||
--- Note: The following events are considered to happen outside of a
|
||||
--- window context and thus cannot be ignored by 'eventignorewin':
|
||||
---
|
||||
--- `ChanClose`,
|
||||
--- `ChanInfo`,
|
||||
--- `ChanOpen`,
|
||||
--- `CmdUndefined`,
|
||||
|
||||
Reference in New Issue
Block a user