jinzhongjia / znvim

neovim remote rpc client implementation with zig

Home Page:https://jinzhongjia.github.io/znvim/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

znvim

znvim is a neovim remote rpc client implementation with zig.

This package is under developing!

Document

https://jinzhongjia.github.io/znvim/

Features

  • Implementation of multiple remote calling methods
  • Support all neovim rpc channels
  • Completely thread safe
  • Asynchronous

Getting Started

0.12.0 / 0.13.0

  1. Add to build.zig.zon
zig fetch --save https://github.com/jinzhongjia/znvim/archive/{commit or branch}.tar.gz
  1. Config build.zig
const znvim = b.dependency("znvim", .{
    .target = target,
    .optimize = optimize,
});

// add module
exe.root_module.addImport("znvim", znvim.module("znvim"));

To use this lib

You can find example on test fold!

Recommend to learn about what msgpack is (this lib uses zig-msgpack) and read neovim's API documentation.

About

neovim remote rpc client implementation with zig

https://jinzhongjia.github.io/znvim/

License:MIT License


Languages

Language:Zig 100.0%