package vcaml

  1. Overview
  2. Docs

Defun.Ocaml is analogous to Defun.Vim, except used to specify OCaml-defined functions callable from neovim.

A synchronous method call blocks neovim until a response is given. To prevent starvation and deadlocking, then, synchronous callbacks should not call any neovim functions or otherwise cause an async cycle to be run.

Neovim does not natively expose any way to receive return values from asynchronous method calls.

module Sync : sig ... end
module Async : sig ... end
OCaml

Innovation. Community. Security.