Sha256: be27fb28e76e0490e899b7fb74b72dafcadad8eb4b7d49465f2e970b118fec99

Contents?: true

Size: 341 Bytes

Versions: 5

Compression:

Stored size: 341 Bytes

Contents

#!/usr/bin/env ruby

$:.unshift File.expand_path("../../lib", __FILE__)

require "neovim"
require "json"
require "pp"

nvim_exe = ENV.fetch("NVIM_EXECUTABLE", "nvim")
event_loop = Neovim::EventLoop.child([nvim_exe, "-u", "NONE", "-n"])
session = Neovim::Session.new(event_loop)
puts JSON.pretty_generate(session.request(:nvim_get_api_info))

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
neovim-0.7.1 script/dump_api.rb
neovim-0.7.0 script/dump_api
neovim-0.6.2 script/dump_api
neovim-0.6.1 script/dump_api
neovim-0.6.0 script/dump_api