hudclark / grpc-nvim

Grpc Client for Neovim
MIT License
31 stars 1 forks source link
fennel grpc neovim

grpc-nvim

A GRPC client built using grpcurl.

Example


Install

Dependencies

Using packer.nvim

use {
  "hudclark/grpc-nvim",
  requires = { "nvim-lua/plenary.nvim" }
}

Usage

Place your cursor over a valid GRPC request, then :Grpc. Results will be shown in a split.

Valid GRPC requests are blocks that start with the pattern ^grpc. Some examples are as follows:

// Describe the server via reflection
grpc localhost:50051 list

// Send a request over plaintext.
grpc --plaintext localhost:50051 helloworld.Greeter/SayHello
{
  "name": "Hudclark"
}