mirror of
https://github.com/nvim-lua/kickstart.nvim.git
synced 2025-06-24 06:08:34 +02:00
feat: configure aider, vim-test, keymaps...
This commit is contained in:
parent
b903bc371f
commit
57122d01c5
6 changed files with 177 additions and 41 deletions
|
@ -1,40 +1,40 @@
|
|||
return {
|
||||
{
|
||||
'lucas-garcia-rubio/neotest-maven',
|
||||
-- dir = '~/Repositories/pessoal/plugins/neotest-maven',
|
||||
name = 'neotest-maven',
|
||||
ft = 'java',
|
||||
dependencies = {
|
||||
'mfussenegger/nvim-jdtls',
|
||||
'mfussenegger/nvim-dap', -- for the debugger
|
||||
'rcarriga/nvim-dap-ui', -- recommended
|
||||
'theHamsta/nvim-dap-virtual-text', -- recommended
|
||||
'nvim-lua/plenary.nvim',
|
||||
'nvim-treesitter/nvim-treesitter',
|
||||
},
|
||||
config = function()
|
||||
local function neotest_output_and_switch()
|
||||
require('neotest').output.open { enter = true }
|
||||
end
|
||||
|
||||
-- Set key mapping for the function
|
||||
vim.keymap.set('n', '<leader>lw', neotest_output_and_switch, { desc = 'Neotest output and enter its window' })
|
||||
end,
|
||||
},
|
||||
{
|
||||
'nvim-neotest/neotest',
|
||||
dependencies = {
|
||||
'neotest-maven',
|
||||
'nvim-neotest/nvim-nio',
|
||||
'nvim-lua/plenary.nvim',
|
||||
'nvim-treesitter/nvim-treesitter',
|
||||
},
|
||||
init = function()
|
||||
require('neotest').setup {
|
||||
adapters = {
|
||||
require 'neotest-maven',
|
||||
},
|
||||
}
|
||||
end,
|
||||
},
|
||||
-- {
|
||||
-- 'lucas-garcia-rubio/neotest-maven',
|
||||
-- -- dir = '~/Repositories/pessoal/plugins/neotest-maven',
|
||||
-- name = 'neotest-maven',
|
||||
-- ft = 'java',
|
||||
-- dependencies = {
|
||||
-- 'mfussenegger/nvim-jdtls',
|
||||
-- 'mfussenegger/nvim-dap', -- for the debugger
|
||||
-- 'rcarriga/nvim-dap-ui', -- recommended
|
||||
-- 'theHamsta/nvim-dap-virtual-text', -- recommended
|
||||
-- 'nvim-lua/plenary.nvim',
|
||||
-- 'nvim-treesitter/nvim-treesitter',
|
||||
-- },
|
||||
-- config = function()
|
||||
-- local function neotest_output_and_switch()
|
||||
-- require('neotest').output.open { enter = true }
|
||||
-- end
|
||||
--
|
||||
-- -- Set key mapping for the function
|
||||
-- vim.keymap.set('n', '<leader>lw', neotest_output_and_switch, { desc = 'Neotest output and enter its window' })
|
||||
-- end,
|
||||
-- },
|
||||
-- {
|
||||
-- 'nvim-neotest/neotest',
|
||||
-- dependencies = {
|
||||
-- 'neotest-maven',
|
||||
-- 'nvim-neotest/nvim-nio',
|
||||
-- 'nvim-lua/plenary.nvim',
|
||||
-- 'nvim-treesitter/nvim-treesitter',
|
||||
-- },
|
||||
-- init = function()
|
||||
-- require('neotest').setup {
|
||||
-- adapters = {
|
||||
-- require 'neotest-maven',
|
||||
-- },
|
||||
-- }
|
||||
-- end,
|
||||
-- },
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue