def setup(self, nvim):
self.nvim = nvim<EOL>info('<STR_LIT>')<EOL>self.hook = path_hook(nvim)<EOL>sys.path_hooks.append(self.hook)<EOL>nvim.VIM_SPECIAL_PATH = '<STR_LIT>'<EOL>sys.path.append(nvim.VIM_SPECIAL_PATH)<EOL>info('<STR_LIT>')<EOL>self.saved_stdout = sys.stdout<EOL>self.saved_stderr = sys.stderr<EOL>sys.stdout = RedirectStream(lambda data: nvim.out_write(data))<EOL>sys.stderr = RedirectStream(lambda data: nvim.err_write(data))<EOL>
Setup import hooks and global streams.

        This will add import hooks for importing modules from runtime
        directories and patch the sys module so 'print' calls will be
        forwarded to Nvim.