package vcaml

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type

These API functions are served immediately without waiting in the input queue.

There is a Neovim bug where calling get_mode during an rpcrequest will hang. See https://github.com/neovim/neovim/issues/14451.

val input : keys:string -> int Api_call.Or_error.t
module Untested : sig ... end
val paste : string list -> unit Api_call.Or_error.t
val paste_stream : Core.Source_code_position.t -> [ `connected ] Client.t -> string Async.Pipe.Writer.t * unit Async.Deferred.Or_error.t

Only one paste stream should be open for a client at a time. The returned deferred is filled after the writer is closed and the paste stream has flushed to Neovim.