def __init__(self, nvim):
self.nvim = nvim<EOL>self._specs = {}<EOL>self._loaded = {}<EOL>self._load_errors = {}<EOL>self._notification_handlers = {<EOL>'<STR_LIT>': self._on_error_event<EOL>}<EOL>self._request_handlers = {<EOL>'<STR_LIT>': lambda: '<STR_LIT>',<EOL>'<STR_LIT>': self._on_specs_request,<EOL>'<STR_LIT>': self.shutdown<EOL>}<EOL>self._decode_default = IS_PYTHON3<EOL>
Set handlers for plugin_load/plugin_unload.