def add_to_vim_list(list_name, issues):
    for issue in issues:
        vim.eval('add(' + list_name + ', "' + '#' + issue['number'] + ' ' + issue['title'] + '")')
dataset/ETHPy150Open at15/issue-complete/ftplugin/COMMIT_EDITMSG/issue.py/add_to_vim_list/original