class DeniteHandlers(object): def __init__(self, vim: Nvim) -> None: self._rplugin = Rplugin(vim) @vim.function('_denite_init', sync=True) # type: ignore def init_channel(self, args: Args) -> None: self._rplugin.init_channel(args) @vim.rpc_export('_denite_start', sync=True) # type: ignore def start(self, args: Args) -> None: self._rplugin.start(args) @vim.rpc_export('_denite_do_action', sync=True) # type: ignore def do_action(self, args: Args) -> typing.Any: return self._rplugin.do_action(args) @vim.rpc_export('_denite_do_targets', sync=True) # type: ignore def do_targets(self, args: Args) -> typing.Any: return self._rplugin.do_targets(args) @vim.rpc_export('_denite_do_map', sync=True) # type: ignore def do_map(self, args: Args) -> typing.Any: return self._rplugin.do_map(args) @vim.rpc_export('_denite_do_async_map', sync=False) # type: ignore def do_async_map(self, args: Args) -> typing.Any: return self._rplugin.do_map(args)
class DeniteHandlers(object): def __init__(self, vim): self._rplugin = Rplugin(vim) @vim.function('_denite_init', sync=True) def init_channel(self, args): self._rplugin.init_channel(args) @vim.rpc_export('_denite_start', sync=True) def start(self, args): self._rplugin.start(args) @vim.rpc_export('_denite_do_action', sync=True) def take_action(self, args): return self._rplugin.take_action(args)
class DeniteHandlers(object): def __init__(self, vim): self._rplugin = Rplugin(vim) @vim.function('_denite_init', sync=True) def init_channel(self, args): self._rplugin.init_channel(args) @vim.rpc_export('_denite_start', sync=True) def start(self, args): self._rplugin.start(args) @vim.rpc_export('_denite_do_action', sync=True) def take_action(self, args): return self._rplugin.take_action(args)
def __init__(self, vim): self._rplugin = Rplugin(vim)
@vim.rpc_export('_denite_do_action', sync=True) def do_action(self, args): return self._rplugin.do_action(args) @vim.rpc_export('_denite_do_map', sync=True) def do_map(self, args): return self._rplugin.do_map(args) @vim.rpc_export('_denite_do_async_map', sync=False) def do_async_map(self, args): return self._rplugin.do_map(args) if find_spec('yarp'): global_denite = Rplugin(vim) def _denite_init(): pass def _denite_start(args): global_denite.start(args) def _denite_do_action(args): return global_denite.take_action(args) def _denite_do_map(args): return global_denite.do_map(args) def _denite_do_async_map(args): return global_denite.do_map(args)
def __init__(self, vim: Nvim) -> None: self._rplugin = Rplugin(vim)
def __init__(self, vim): self._rplugin = Rplugin(vim)