From 5923d8340b4e12c6f5b5b8c9fd53e057407c141a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Emmanuel=20BENO=C3=8ET?= Date: Sat, 24 Jun 2023 17:22:22 +0200 Subject: [PATCH] plugins - Re-added vim-test --- bundles-init/vim-test.load.vim | 1 - plugins/vim-test.cfg.vim | 2 ++ .../vim-test.cfg.vim => plugins/vim-test.load.vim | 9 +++++++-- 3 files changed, 9 insertions(+), 3 deletions(-) delete mode 100644 bundles-init/vim-test.load.vim create mode 100644 plugins/vim-test.cfg.vim rename bundles-init/vim-test.cfg.vim => plugins/vim-test.load.vim (51%) 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