diff --git a/config/neovim/after/plugin/vim-test.lua b/config/neovim/after/plugin/vim-test.lua index 9d09379..42121e3 100644 --- a/config/neovim/after/plugin/vim-test.lua +++ b/config/neovim/after/plugin/vim-test.lua @@ -4,12 +4,17 @@ local options = { silent = true, } -map("n", "t", ":TestFile", options) -map("n", "t", ":TestVisit", options) -map("n", "t", ":TestLast", options) -map("n", "t", ":TestNearest", options) -map("n", "t", ":TestSuite", options) +map("n", "tf", ":TestFile", options) +map("n", "tg", ":TestVisit", options) +map("n", "tl", ":TestLast", options) +map("n", "tn", ":TestNearest", options) +map("n", "ts", ":TestSuite", options) -vim.g["test#echo_command"] = 0 -vim.g["test#neovim#start_normal"] = 1 -vim.g["test#strategy"] = "vimux" +vim.cmd([[ + let test#echo_command = 0 + let test#neovim#start_normal = 1 + let test#strategy = "vimux" + + let test#php#phpunit#executable = 'just test' + let test#php#phpunit#options = '--colors=always' +]])