plugins - Re-added vim-test

This commit is contained in:
Emmanuel BENOîT 2023-06-24 17:22:22 +02:00
parent 7ad6c76e53
commit 5923d8340b
No known key found for this signature in database
GPG key ID: 2356DC6956CF54EF
3 changed files with 9 additions and 3 deletions

View file

@ -1 +0,0 @@
NeoBundle 'vim-test/vim-test'

2
plugins/vim-test.cfg.vim Normal file
View file

@ -0,0 +1,2 @@
" Run tests in the background, send results to the quickfix window
let test#strategy = 'asyncrun_background'

View file

@ -1,5 +1,10 @@
" Run tests in the background, send results to the quickfix window call dein#add('vim-test/vim-test', #{
let test#strategy = 'asyncrun_background' \ lazy: 1,
\ on_cmd: [
\ 'TestSuite', 'TestFile', 'TestNearest', 'TestLast',
\ 'TestVisit', 'TestClass',
\ ],
\ })
" Shortcuts " Shortcuts
nmap <silent> <Leader>Ta :TestSuite<CR> nmap <silent> <Leader>Ta :TestSuite<CR>