fix(type): remove incorrect arguments from vim.rpc*

This commit is contained in:
altermo
2024-03-07 09:16:05 +01:00
committed by Lewis Russell
parent e52c25b761
commit 04232a19cc
2 changed files with 4 additions and 8 deletions

View File

@@ -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