neovim/runtime/indent/testdir/cleantest.vim

12 lines
219 B
VimL

" Only do this with the +eval feature
if 1
" Deletes all the test output files: *.fail and *.out
for fname in glob('testdir/*.out', 1, 1) + glob('testdir/*.fail', 1, 1)
call delete(fname)
endfor
endif
quit