aboutsummaryrefslogtreecommitdiff
path: root/dot_config/nvim/lua/plugins/neotest.lua
blob: 1f6efcfa76e4f8ebcd3ebc94e10e650d3bb1a44b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
return {
  "nvim-neotest/neotest",
  dependencies = {
    "nvim-neotest/nvim-nio",
    "nvim-neotest/neotest-python",
    "nvim-neotest/neotest-go",
    "nvim-lua/plenary.nvim",
    "antoinemadec/FixCursorHold.nvim",
    "nvim-treesitter/nvim-treesitter"
  },
  config = function()
    require("neotest").setup({
      adapters = {
        require("neotest-python"),
        require("neotest-go")
      },
      diagnostic = {
        enabled = true
      }
    })
  end
}