" Create command for running busted command! -nargs=1 -complete=file PlenaryBustedFile \ lua require('plenary.busted').run(vim.fn.expand("")) command! -nargs=+ -complete=file PlenaryBustedDirectory \ lua require('plenary.test_harness').test_directory_command(vim.fn.expand("")) nnoremap PlenaryTestFile :lua require('plenary.test_harness').test_directory(vim.fn.expand("%:p"))