plugins - Re-added vim-test
This commit is contained in:
parent
7ad6c76e53
commit
5923d8340b
3 changed files with 9 additions and 3 deletions
2
plugins/vim-test.cfg.vim
Normal file
2
plugins/vim-test.cfg.vim
Normal file
|
@ -0,0 +1,2 @@
|
|||
" Run tests in the background, send results to the quickfix window
|
||||
let test#strategy = 'asyncrun_background'
|
13
plugins/vim-test.load.vim
Normal file
13
plugins/vim-test.load.vim
Normal file
|
@ -0,0 +1,13 @@
|
|||
call dein#add('vim-test/vim-test', #{
|
||||
\ lazy: 1,
|
||||
\ on_cmd: [
|
||||
\ 'TestSuite', 'TestFile', 'TestNearest', 'TestLast',
|
||||
\ 'TestVisit', 'TestClass',
|
||||
\ ],
|
||||
\ })
|
||||
|
||||
" Shortcuts
|
||||
nmap <silent> <Leader>Ta :TestSuite<CR>
|
||||
nmap <silent> <Leader>Tf :TestFile<CR>
|
||||
nmap <silent> <Leader>Tc :TestNearest<CR>
|
||||
nmap <silent> <Leader>TT :TestLast<CR>
|
Loading…
Add table
Add a link
Reference in a new issue