functions.lua 308 B

12345678910111213141516
  1. local cmd = vim.cmd
  2. cmd [[
  3. function! DebugNearest()
  4. let g:test#go#runner = 'delve'
  5. lua require('dap-go').debug_test()
  6. unlet g:test#go#runner
  7. endfunction
  8. function! DebugLast()
  9. let g:test#go#runner = 'delve'
  10. lua require('dap-go').debug_last_test()
  11. unlet g:test#go#runner
  12. endfunction
  13. ]]