package vcaml
OCaml bindings for the Neovim API
Install
Dune Dependency
Authors
Maintainers
Sources
vcaml-v0.16.0.tar.gz
sha256=dd123302c46af7ca6eda8a7806c78236fd217a8c73a2e1cd7da85f1d69ed1ae4
doc/vcaml.debug/Vcaml_debug/Toplevel_client/index.html
Module Vcaml_debug.Toplevel_client
Source
This is a barebones implementation of Msgpack RPC for Neovim to facilitate debugging problems in the VCaml library by seeing if the problem is in VCaml or Neovim.
Open a connection to a running Neovim instance. You can find the name by checking v:servername
or $NVIM_LISTEN_ADDRESS.
Get the channel for this connection. Once you have this you can issue rpcrequest
and rpcnotify
calls from your running Neovim instance to Ocaml.
Respond to an rpcrequest
. The msgid
must be the same as the one Neovim sent.
Receive a message from Neovim.
Read all available messages from Neovim. Useful for cases where you expect many messages, e.g., for event subscriptions.
Enable / disable printing messages as they are sent and received.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>