package vcaml

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

Install

Dune Dependency

Authors

Maintainers

Sources

vcaml-v0.15.0.tar.gz
sha256=0dbf2526a24d838988ae9a327550fdd9f0328dbdca9d026430fb4b579e0e0442

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.