diff --git a/bundles-init/vim-test.load.vim b/bundles-init/vim-test.load.vim deleted file mode 100644 index e77dfa8..0000000 --- a/bundles-init/vim-test.load.vim +++ /dev/null @@ -1 +0,0 @@ -NeoBundle 'vim-test/vim-test' diff --git a/plugins/vim-test.cfg.vim b/plugins/vim-test.cfg.vim new file mode 100644 index 0000000..ff2644d --- /dev/null +++ b/plugins/vim-test.cfg.vim @@ -0,0 +1,2 @@ +" Run tests in the background, send results to the quickfix window +let test#strategy = 'asyncrun_background' diff --git a/bundles-init/vim-test.cfg.vim b/plugins/vim-test.load.vim similarity index 51% rename from bundles-init/vim-test.cfg.vim rename to plugins/vim-test.load.vim index 933be8a..1f333ef 100644 --- a/bundles-init/vim-test.cfg.vim +++ b/plugins/vim-test.load.vim @@ -1,5 +1,10 @@ -" Run tests in the background, send results to the quickfix window -let test#strategy = 'asyncrun_background' +call dein#add('vim-test/vim-test', #{ + \ lazy: 1, + \ on_cmd: [ + \ 'TestSuite', 'TestFile', 'TestNearest', 'TestLast', + \ 'TestVisit', 'TestClass', + \ ], + \ }) " Shortcuts nmap Ta :TestSuite