vim.pack.add({ "https://github.com/nvim-neotest/neotest", "https://github.com/antoinemadec/FixCursorHold.nvim", "https://github.com/rcasia/neotest-java", "https://github.com/marilari88/neotest-vitest", }) require("neotest").setup({ adapters = { require("neotest-vitest"), require("neotest-java"), }, }) vim.keymap.set("n", "tr", function() require("neotest").run.run({ suite = false }) end) vim.keymap.set("n", "ts", function() require("neotest").run.run({ suite = true }) end) vim.keymap.set("n", "tf", function() require("neotest").run.run(vim.fn.expand("%")) end) vim.keymap.set("n", "tv", function() require("neotest").summary.toggle() end) vim.keymap.set("n", "to", function() require("neotest").output.open() end)