Plugin Decorators¶
Plugin decorators.
Plugin¶
Command¶
-
pynvim.plugin.
command
(name: str, nargs: Union[str, int] = 0, complete: Optional[str, None] = None, range: Union[str, int, None] = None, count: Optional[int, None] = None, bang: bool = False, register: bool = False, sync: bool = False, allow_nested: bool = False, eval: Optional[str, None] = None) → Callable[[F], F][source]¶ Tag a function or plugin method as a Nvim command handler.