| Class | Neovim::Client |
| In: |
lib/neovim/client.rb
|
| Parent: | Object |
Client to a running nvim instance. The interface is generated at runtime via the vim_get_api_info RPC call. Some methods return RemoteObject subclasses (i.e. Buffer, Window, or Tabpage), which similarly have dynamically generated interfaces.
The methods documented here were generated using NVIM v0.1.7
| channel_id | [R] | |
| session | [R] |
Evaluate the VimL expression (alias for vim_eval).
@param expr [String] A VimL expression. @return [Object] @example Return a list from VimL
client.evaluate('[1, 2]') # => [1, 2]
Set an option.
@overload set_option(key, value)
@param [String] key @param [String] value
@overload set_option(optstr)
@param [String] optstr
@example Set the timeoutlen option
client.set_option("timeoutlen", 0)
client.set_option("timeoutlen=0")