mirror of
https://github.com/nvim-lua/kickstart.nvim.git
synced 2025-06-24 14:18:36 +02:00
configure tests
This commit is contained in:
parent
57122d01c5
commit
dcbf6a076a
5 changed files with 9 additions and 13 deletions
|
@ -1,7 +1,7 @@
|
|||
return {
|
||||
-- {
|
||||
-- 'lucas-garcia-rubio/neotest-maven',
|
||||
-- -- dir = '~/Repositories/pessoal/plugins/neotest-maven',
|
||||
-- -- 'lucas-garcia-rubio/neotest-maven',
|
||||
-- dir = '~/Repositories/pessoal/plugins/neotest-maven',
|
||||
-- name = 'neotest-maven',
|
||||
-- ft = 'java',
|
||||
-- dependencies = {
|
||||
|
|
|
@ -5,9 +5,11 @@ return {
|
|||
'mikelue/vim-maven-plugin',
|
||||
},
|
||||
init = function()
|
||||
vim.g['test#strategy'] = 'dispatch'
|
||||
vim.g['test#strategy'] = { nearest = 'neovim', file = 'neovim', suite = 'neovim' }
|
||||
vim.g['test#neovim#start_normal'] = 1
|
||||
vim.g['test#basic#start_normal'] = 1
|
||||
-- vim.g.test_echo_command = 1 -- Adicionado para mostrar o comando de teste
|
||||
vim.g['test#java#maventest#options'] = '-B'
|
||||
-- vim.g['test#java#maventest#options'] = '-B' -- Necessário em caso de parsing para quickfix list
|
||||
|
||||
vim.api.nvim_create_autocmd('FileType', {
|
||||
pattern = { 'java' },
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue