Vcaml_pluginThis library provides scaffolding for creating Neovim plugins in OCaml.
Oneshot plugins are launched synchronously from Neovim and shut down after performing their task, allowing Neovim to resume. Because they use stdout to communicate with Neovim, any logging must be done via stderr (or to a file). See ../templates/oneshot.vim for a template for invoking a Oneshot plugin from Neovim.
Persistent plugins are launched asynchronously from Neovim and serve both synchronous and asynchronous requests. See ../templates/persistent.vim for a template for invoking a Persistent plugin from Neovim.
If you have a use case that doesn't fit one of these models (e.g., you are starting an OCaml app from outside Neovim that needs to talk to a running Neovim instance), use the VCaml library directly to create and attach a client.
module Oneshot : sig ... endmodule Persistent : sig ... end