Neovim Ruby
Ruby bindings for Neovim.
Warning: This project is currently incomplete and unstable.
Installation
Add this line to your application's Gemfile:
gem "neovim"
And then execute:
$ bundle
Or install it yourself as:
$ gem install neovim
Usage
You can control a running nvim
process by connecting to $NVIM_LISTEN_ADDRESS
. Start it up like this:
$ NVIM_LISTEN_ADDRESS=/tmp/nvim.sock nvim
You can then connect to that socket in Ruby to get a Neovim::Client
:
require "neovim"
client = Neovim.connect("/tmp/nvim.sock")
Contributing
- Fork it (http://github.com/alexgenco/neovim-ruby/fork)
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request