all repos

init.lua @ 86ed8c7

my nvim config

init.lua/lua/plugins/gopher.lua(view raw)

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
local dev_deps = false

---@type LazySpec
return {
  "olexsmir/gopher.nvim",
  ft = "go",
  dev = true,
  cmd = "GoInstallDeps",
  build = function()
    pcall(vim.cmd.GoInstallDeps)
  end,
  dependencies = {
    { "williamboman/mason.nvim", cond = dev_deps, config = true },
  },
  ---@type gopher.Config
  ---@diagnostic disable-next-line: missing-fields
  opts = {
    use_mason = dev_deps,
    log_level = vim.log.levels.TRACE,
    gotests = {
      template = "testify",
    },
  },
}