mirror of
https://github.com/neovim/neovim.git
synced 2025-09-07 11:58:17 +00:00
@@ -454,7 +454,7 @@ local on_key_cbs = {}
|
||||
--- On each key press, Nvim passes the key char to fn(). |i_CTRL-V|
|
||||
--- If {fn} is nil, it removes the callback for the associated {ns_id}
|
||||
---@param ns_id number? Namespace ID. If nil or 0, generates and returns a new
|
||||
--- |nvim_create_namesapce()| id.
|
||||
--- |nvim_create_namespace()| id.
|
||||
---
|
||||
---@return number Namespace id associated with {fn}. Or count of all callbacks
|
||||
---if on_key() is called without arguments.
|
||||
|
Reference in New Issue
Block a user