feat(nvim): use floaterm for running tests
This commit is contained in:
parent
716f35746a
commit
ece5c46c47
4
after/plugin/floaterm.lua
Normal file
4
after/plugin/floaterm.lua
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
vim.g.floaterm_autoinsert = 1
|
||||||
|
vim.g.floaterm_height = 0.8
|
||||||
|
vim.g.floaterm_title = 0
|
||||||
|
vim.g.floaterm_width = 0.8
|
|
@ -13,7 +13,7 @@ map("n", "<leader>ts", ":TestSuite<CR>", options)
|
||||||
vim.cmd([[
|
vim.cmd([[
|
||||||
let test#echo_command = 0
|
let test#echo_command = 0
|
||||||
let test#neovim#start_normal = 1
|
let test#neovim#start_normal = 1
|
||||||
let test#strategy = "vimux"
|
let test#strategy = "floaterm"
|
||||||
|
|
||||||
let test#php#phpunit#executable = 'just test'
|
let test#php#phpunit#executable = 'just test'
|
||||||
let test#php#phpunit#options = '--colors=always'
|
let test#php#phpunit#options = '--colors=always'
|
||||||
|
|
Reference in a new issue