Module Vcaml_plugin.Oneshot

module Rpc : sig ... end
val create : ?on_crash:(Core.Error.t -> unit Async.Deferred.t) -> name:string -> description:string -> Rpc.t list -> Core.Command.t

Create a command to invoke from Neovim to start this oneshot plugin. The plugin will shut down after any one of its RPCs is called. The on_crash handler can be used to do something with an unexpected error just before the plugin crashes - you may want to use this to send the error to some logging service.