jinzhongjia / znvim Goto Github PK
View Code? Open in Web Editor NEWneovim remote rpc client implementation with zig
Home Page: https://jinzhongjia.github.io/znvim/
License: MIT License
neovim remote rpc client implementation with zig
Home Page: https://jinzhongjia.github.io/znvim/
License: MIT License
Hello, and thank you very much for creating this library.
I'm trying to create an application that can interact with a live Neovim instance (via unix pipe) both ways back and forth.
I saw in your test file that connecting and sending commands to a live Neovim instance via unix pipe from Zig is possible.
However, I wonder if it's possible to, let's say, I press a keymap in Neovim, and my application in Zig receives that signal, and shows up.
Is this possible? Thank you very much!
Add named pipe support, for windows!
Hello and thank you for creating the library and make it open source.
I really want to start using your library but I can't find any LICENSE file in the repo.
Could you please add a LICENSE file to indicate how permissive the usage of the code in this repo is?
Thank you kindly.
My previous implementation was a piece of shit
Now I have to implement this library completely from scratch
Wondering what you think of change the function signatures of ReqMethodType
and NotifyMethodType
from:
pub const ReqMethodType = *const fn (params: Payload, allocator: Allocator) ResultType;
pub const NotifyMethodType = *const fn (params: Payload, allocator: Allocator) void;
to:
pub const ReqMethodType = struct {
userdata: ?*anyopaque = null,
fn: *const fn (params: Payload, allocator: Allocator, userdata: ?*anyopaque) ResultType,
};
pub const NotifyMethodType = struct {
userdata: ?*anyopaque = null,
fn: *const fn (params: Payload, allocator: Allocator, userdata: ?*anyopaque) void,
};
This would allow embedders to pass along arbitrary userdata through each callback, preventing the need for global variables.
I can send in a PR if you are ok with this change.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.