plugins - Fixed vim-test strategy setup

This commit is contained in:
Emmanuel BENOîT 2023-06-24 17:53:13 +02:00
parent 4aa39e6554
commit ceacb6d3c0
No known key found for this signature in database
GPG key ID: 2356DC6956CF54EF
2 changed files with 4 additions and 2 deletions

View file

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

View file

@ -11,3 +11,7 @@ nmap <silent> <Leader>Ta :TestSuite<CR>
nmap <silent> <Leader>Tf :TestFile<CR> nmap <silent> <Leader>Tf :TestFile<CR>
nmap <silent> <Leader>Tc :TestNearest<CR> nmap <silent> <Leader>Tc :TestNearest<CR>
nmap <silent> <Leader>TT :TestLast<CR> nmap <silent> <Leader>TT :TestLast<CR>
" Run tests in the background, send results to the quickfix window
" NOTE: this must be set in this file, not in a .cfg / .post file
let test#strategy = 'asyncrun_background'