def plugin(cls):
cls._nvim_plugin = True<EOL>predicate = lambda fn: hasattr(fn, '<STR_LIT>')<EOL>for _, fn in inspect.getmembers(cls, predicate):<EOL><INDENT>if IS_PYTHON3:<EOL><INDENT>fn._nvim_bind = False<EOL><DEDENT>else:<EOL><INDENT>fn.im_func._nvim_bind = False<EOL><DEDENT><DEDENT>return cls<EOL>
Tag a class as a plugin.

    This decorator is required to make the class methods discoverable by the
    plugin_load method of the host.