← All repos

vcaml

OCaml bindings for the Neovim API

Browse cluster: OCaml incremental computation and PPX tooling
67commits
6contributors
6languages

Tech stack & purpose

VCaml is a library for building Neovim plugins in OCaml. The project provides typed bindings to the Neovim API through a core `vcaml` library that exposes modules for interacting with buffers, windows, tabs, key mappings, commands, auto-commands, and the UI, along with a higher-level `vcaml.plugin` library for common plugin patterns. The repository also includes a `vcaml.test.helpers` library for writing tests with an embedded Neovim instance, a `vcaml.debug` library for manual inspection of plugin-Neovim communication, and example plugins demonstrating usage from simple commands to interactive games like Hangman. The debugging toolkit includes a MessagePack RPC debugger binary that supports man-in-the-middle listening and message conversion to JSON and hexadecimal formats.

Community & reference links

Languages

OCaml
99.3%
Lua
0.2%
Shell
0.2%
Vim Script
0.2%
Makefile
0.0%
Dune
0.0%

Contributors