Skip to content

jinzhongjia/znvim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

56 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.