Skip to content

Latest commit

 

History

History
44 lines (37 loc) · 836 Bytes

README.md

File metadata and controls

44 lines (37 loc) · 836 Bytes

gotest

Lua Neovim

Install

Lazy

return {
  "vcraescu/gotest.nvim",
  cmd = "GoTestNearest",
  opts = {}
}

Default config

{
  output = {
     focus = {
       fail = true, -- focus test results on fail
       success = false, -- focus test results on success
     },
     height = 15, -- height of the quickfix pane
     show = {
       fail = true,
       success = true,
     },
  },
  timeout = 30, -- test run timeout in seconds
  disable_test_cache = false, -- disable go test cache
  diagnostics = {
     enabled = true, -- show diagnostics
  },
}

Commands

:GoTestNearest