diff --git a/nvim/lua/plugins/neotest.lua b/nvim/lua/plugins/neotest.lua deleted file mode 100644 index 21c34aa..0000000 --- a/nvim/lua/plugins/neotest.lua +++ /dev/null @@ -1,61 +0,0 @@ -return { - { - 'nvim-neotest/neotest', - dependencies = { - 'nvim-lua/plenary.nvim', - 'nvim-treesitter/nvim-treesitter', - 'nvim-neotest/neotest-go', - }, - init = function() - local keymap = require('utils.keymap') - keymap.register_group('r', 'Run', {}) - keymap.register_group('rt', 'Test', {}) - end, - keys = { - { - 'rtn', - function() - require('neotest').run.run() - end, - desc = 'Run the nearest test', - }, - { - 'rta', - function() - vim.ui.input({ prompt = 'Extra go test args: ' }, function(input) - require('neotest').run.run({ extra_args = vim.split(input, ' ') }) - end) - end, - desc = 'Run the nearest test (args)', - }, - { - 'rtf', - function() - require('neotest').run.run(vim.fn.expand('%')) - end, - desc = 'Run the test file', - }, - { - 'rto', - function() - require('neotest').output_panel.toggle() - end, - desc = 'Toggle test output', - }, - { - 'rts', - function() - require('neotest').summary.toggle() - end, - desc = 'Toggle test summary', - }, - }, - config = function() - require('neotest').setup({ - adapters = { - require('neotest-go'), - }, - }) - end, - }, -}