package vcaml

  1. Overview
  2. Docs
OCaml bindings for the Neovim API

Install

Dune Dependency

Authors

Maintainers

Sources

vcaml-v0.16.0.tar.gz
sha256=dd123302c46af7ca6eda8a7806c78236fd217a8c73a2e1cd7da85f1d69ed1ae4

doc/vcaml.plugin/Vcaml_plugin/Oneshot/Make/index.html

Module Oneshot.MakeSource

Parameters

module O : Arg

Signature

Sourceval command : summary:string -> Core.Command.t

A function like this should be defined for your plugin:

   function! s:rpcrequest(...) abort
     let l:job_id = jobstart(['/path/to/exe'], { 'rpc': 1 })
     return call('rpcrequest', [l:job_id] + a:000)
   endfunction

Then you can invoke s:rpcrequest the same way you would call rpcrequest on a synchronous callback of a persistent plugin.

OCaml

Innovation. Community. Security.