feat(nvim): use floaterm for running tests

This commit is contained in:
Oliver Davies 2022-12-28 17:35:11 +00:00
parent 373c824caf
commit 0371434311
3 changed files with 6 additions and 1 deletions

View 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

View file

@ -13,7 +13,7 @@ map("n", "<leader>ts", ":TestSuite<CR>", options)
vim.cmd([[
let test#echo_command = 0
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#options = '--colors=always'

View file

@ -101,6 +101,7 @@ in {
vimPlugins.rest-nvim
vimPlugins.splitjoin-vim
vimPlugins.vim-abolish
vimPlugins.vim-floaterm
vimPlugins.vim-highlightedyank
vimPlugins.vim-polyglot
vimPlugins.vim-repeat