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