@contextmanager
def highlight(higroup):
    vim.command('echohl ' + higroup)
    try:
        yield
    finally:
        vim.command('echohl None')
Set highlight group for the duration of this context
dataset/ETHPy150Open azure-satellite/pyunite/pyunite/ui.py/highlight