Class: Neovim::DslPlain

Inherits:
DslBase show all
Defined in:
lib/neovim/handler.rb

Constant Summary collapse

TYPE =
:base

Constants included from Logging

Logging::DEFAULT_LEVEL, Logging::LEVELS

Instance Method Summary collapse

Methods inherited from DslBase

#add_plugins, #initialize, open

Methods included from Logging

put

Constructor Details

This class inherits a constructor from Neovim::DslBase

Instance Method Details

#plain(name, **opts) ⇒ Object



120
121
122
123
124
# File 'lib/neovim/handler.rb', line 120

def plain name, **opts
  add_handler nil, name, **opts do |client,*args|
    yield *args
  end
end