mirror of
https://github.com/neovim/neovim.git
synced 2025-12-10 16:42:42 +00:00
fix(type): remove incorrect arguments from vim.rpc*
This commit is contained in:
@@ -91,9 +91,8 @@ function vim.empty_dict() end
|
||||
--- This function also works in a fast callback |lua-loop-callbacks|.
|
||||
--- @param channel integer
|
||||
--- @param method string
|
||||
--- @param args? any[]
|
||||
--- @param ...? any
|
||||
function vim.rpcnotify(channel, method, args, ...) end
|
||||
function vim.rpcnotify(channel, method, ...) end
|
||||
|
||||
--- Sends a request to {channel} to invoke {method} via |RPC| and blocks until
|
||||
--- a response is received.
|
||||
@@ -102,9 +101,8 @@ function vim.rpcnotify(channel, method, args, ...) end
|
||||
--- special value
|
||||
--- @param channel integer
|
||||
--- @param method string
|
||||
--- @param args? any[]
|
||||
--- @param ...? any
|
||||
function vim.rpcrequest(channel, method, args, ...) end
|
||||
function vim.rpcrequest(channel, method, ...) end
|
||||
|
||||
--- Compares strings case-insensitively.
|
||||
--- @param a string
|
||||
|
||||
Reference in New Issue
Block a user