mirror of
https://github.com/neovim/neovim.git
synced 2024-12-20 03:05:11 -07:00
Fix unused vararg
This commit is contained in:
parent
ad1a437835
commit
4526294848
@ -255,7 +255,7 @@ vim.fn = setmetatable({}, {
|
||||
__index = function(t, key)
|
||||
local _fn
|
||||
if vim.api[key] ~= nil then
|
||||
_fn = function(...)
|
||||
_fn = function()
|
||||
error(string.format("Tried to call API function with vim.fn: use vim.api.%s instead", key))
|
||||
end
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user