diff options
author | Thiago de Arruda <tpadilha84@gmail.com> | 2014-08-28 14:39:20 -0300 |
---|---|---|
committer | Thiago de Arruda <tpadilha84@gmail.com> | 2014-08-28 14:39:20 -0300 |
commit | e0d812ab649c40b8cc0efbfbe5214fb5dd407e8f (patch) | |
tree | ed4bf469e4e2c71120d8bc2df60c0bd2f077bdf7 /scripts | |
parent | 7f9ec6c04f3949e6d666c1586efc20a4a79be257 (diff) | |
parent | dd90dbeeba15af4ef401327ba3996caccd34f719 (diff) | |
download | rneovim-e0d812ab649c40b8cc0efbfbe5214fb5dd407e8f.tar.gz rneovim-e0d812ab649c40b8cc0efbfbe5214fb5dd407e8f.tar.bz2 rneovim-e0d812ab649c40b8cc0efbfbe5214fb5dd407e8f.zip |
Merge PR #1060 'Implement --embedded-mode command-line option'
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/run-api-tests.exp | 37 |
1 files changed, 0 insertions, 37 deletions
diff --git a/scripts/run-api-tests.exp b/scripts/run-api-tests.exp index b9d37ca903..6209a77cfc 100755 --- a/scripts/run-api-tests.exp +++ b/scripts/run-api-tests.exp @@ -20,43 +20,6 @@ set nvim_id $spawn_id # Reset function that can be invoked by test runners to put nvim in a cleaner # state send { -:function BeforeEachTest() - set all& - let &initpython = 'python -c "import neovim; neovim.start_host()"' - redir => groups - silent augroup - redir END - for group in split(groups) - exe 'augroup '.group - autocmd! - augroup END - endfor - autocmd! - tabnew - let curbufnum = eval(bufnr('%')) - redir => buflist - silent ls! - redir END - let bufnums = [] - for buf in split(buflist, '\n') - let bufnum = eval(split(buf, '[ u]')[0]) - if bufnum != curbufnum - call add(bufnums, bufnum) - endif - endfor - if len(bufnums) > 0 - exe 'silent bwipeout! '.join(bufnums, ' ') - endif - silent tabonly - for k in keys(g:) - exe 'unlet g:'.k - endfor - filetype plugin indent off - mapclear - mapclear! - abclear - comclear -endfunction :echo "read"."y" } # wait until nvim is ready |