

def on_done(self, res):
    if (res['okay'] is True):
        status = 'Valid'
    else:
        status = res['err'].split('\n')[0]
    sublime.message_dialog(('Syntax %s' % status))

dataset/ETHPy150Open lavrton/sublime-better-typescript/TypeScript.py CheckCodeSyntaxCommand.on_done/original