From d12aba9bceb6b7b8592de0047d3e691a4bfc7be1 Mon Sep 17 00:00:00 2001 From: Oliver Davies Date: Sun, 11 Aug 2024 14:12:13 +0100 Subject: [PATCH] vim-test: use the `neovim_sticky` strategy --- plugin/vim-test.lua | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/plugin/vim-test.lua b/plugin/vim-test.lua index dad4316..b82c466 100644 --- a/plugin/vim-test.lua +++ b/plugin/vim-test.lua @@ -12,8 +12,11 @@ map("n", "ts", ":TestSuite", options) vim.cmd [[ let test#echo_command = 0 - let test#neovim#start_normal = 1 - let test#strategy = "vimux" + let test#strategy = "neovim_sticky" + + let g:test#neovim_sticky#kill_previous = 1 + let g:test#neovim_sticky#reopen_window = 1 + let g:test#preserve_screen = 0 let test#php#phpunit#executable = './run test' let test#php#phpunit#options = '--colors=always --testdox'