def _report_nvim_error(self, err, frame): self.log.error('async vim call failed with \'{}\''.format(decode(err))) self.log.error(''.join(traceback.format_stack(frame)[:-5]))
def option(self, name: str) -> Maybe[str]: v = self.target.options.get(name) if v is None: self.log.debug('variable not found: {}'.format(name)) return decode(v)