v0.13.0: Merge pull request #38 from vim-denops/refactoring
New features
- Expose
ensureXXXXX
helper functions frommod.ts
- Improve documentation of public interfaces
💥 Incompatible changes
The following are incompatible changes so that user who use that feature must fix them code.
- Remove
denops#lib#promise
and it's related features- Use
Async.Promise
of vital.vim instead - Use
denops#request_async()
instead ofdenops#promise()
- Use
- Remove
denops#lib#job
and move implementations intodenops#utils
- Remove unused
Api/Context
interfaces Denops.dispatch()
interface has changed to followDenops.call()
interface- Chaged from
dispatch(name, fn, args)
todispatch(name, fn, ...args)
- Chaged from
🚪 Internal incompatible changes
The following are assumed as internal changes so plugin developers who use denops-std module should not be affected by those changes.
- Remove
cmd/eval
from msgpack-rpc layer and redefined those on Denops layer (and Plugin layer for backword compatiblity) - Remove
dispatch/dispatchAsync/register
from Vim/Neovim communication layer and replaced those commands withinvoke
message