doc: |api-fast| [ci skip]

This commit is contained in:
Justin M. Keyes
2019-08-26 01:01:01 +02:00
parent 4b2a2c332c
commit 456f1d4bdd
9 changed files with 147 additions and 113 deletions

View File

@@ -215,9 +215,11 @@ paste = (function()
end
end)()
--- Defers the wrapped callback until the Nvim API is safe to call.
--- Defers callback `cb` until the Nvim API is safe to call.
---
--@see |vim-loop-callbacks|
---@see |lua-loop-callbacks|
---@see |vim.schedule()|
---@see |vim.in_fast_event()|
local function schedule_wrap(cb)
return (function (...)
local args = {...}