Method: Neovim::API#functions
- Defined in:
- lib/neovim/api.rb
permalink #functions ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Return all functions defined by the API.
11 12 13 14 15 16 |
# File 'lib/neovim/api.rb', line 11 def functions @functions ||= @api_info.fetch("functions").inject({}) do |acc, func| function = Function.new(func) acc.merge(function.name => function) end end |