LazyVim.LazyVim/lua/lazyvim/plugins
Fredrik Averpil 55464b77c6
feat(go): switch to neotest-golang (#3749)
## What is this PR for?

This PR switches
[nvim-neotest/neotest-go](https://github.com/nvim-neotest/neotest-go)
for
[fredrikaverpil/neotest-golang](https://github.com/fredrikaverpil/neotest-golang).

## Does this PR fix an existing issue?

Neotest-go comes with some problems which are mitigated in
neotest-golang. A full description/background is available in the
project README, but here are some highlights:

### Neotest-go issues mitigated in neotest-golang

- Test Output in JSON, making it difficult to read:
[neotest-go#52](https://github.com/nvim-neotest/neotest-go/issues/52)
- "Run nearest" runs all tests:
[neotest-go#83](https://github.com/nvim-neotest/neotest-go/issues/83)
- Running test suite doesn't work:
[neotest-go#89](https://github.com/nvim-neotest/neotest-go/issues/89)
- Diagnostics for table tests on the line of failure:
[neotest-go#75](https://github.com/nvim-neotest/neotest-go/issues/75)
- Support for Nested Subtests:
[neotest-go#74](https://github.com/nvim-neotest/neotest-go/issues/74)
- DAP support:
[neotest-go#12](https://github.com/nvim-neotest/neotest-go/issues/12)

### Features

- Supports all [Neotest
usage](https://github.com/nvim-neotest/neotest#usage).
- Integrates with [nvim-dap-go](https://github.com/leoluz/nvim-dap-go)
for debugging of tests using delve.
- Inline diagnostics.
- Works great with
[andythigpen/nvim-coverage](https://github.com/andythigpen/nvim-coverage)
for displaying coverage in the sign column (per-Go package, or per-test
basis).
- Monorepo support (detect, run and debug tests in sub-projects).
- Supports table tests (relies on treesitter AST detection).
- Supports nested test functions.

## Notes

- I'm the author of
[fredrikaverpil/neotest-golang](https://github.com/fredrikaverpil/neotest-golang).


## Checklist

- [x] I've read the
[CONTRIBUTING](https://github.com/LazyVim/LazyVim/blob/main/CONTRIBUTING.md)
guidelines.
2024-06-23 07:01:22 +02:00
..
compat fix(extras): better reasons as to why some extras are included in your config. 2024-06-14 11:14:00 +02:00
extras feat(go): switch to neotest-golang (#3749) 2024-06-23 07:01:22 +02:00
lsp refactor: LazyVim.config 2024-06-16 15:35:38 +02:00
coding.lua fix(snippets): nvim-snippets <S-Tab> prev key (#3712) 2024-06-18 07:15:24 +02:00
colorscheme.lua feat(catppuccin): enable more integrations (#1922) 2023-11-04 11:09:01 +01:00
editor.lua feat(gitsigns): new keymap for Gitsigns blame (#3758) 2024-06-21 21:14:48 +02:00
formatting.lua fix(conform): lsp_format breaking changes (#3707) 2024-06-17 19:49:30 +02:00
init.lua refactor: config = true >> opts = {} 2024-06-11 00:06:56 +02:00
linting.lua feat(lint): added support for prepend_args to nvim-lint. Fixes #1887 2024-06-05 23:02:19 +02:00
treesitter.lua feat(treesitter-textobjects): added ]a and [a to move between parameters 2024-06-16 19:18:32 +02:00
ui.lua refactor: LazyVim.config 2024-06-16 15:35:38 +02:00
util.lua feat(util)!: move vim-startuptime to an extra 2024-05-16 21:25:51 +02:00
xtras.lua refactor: LazyVim.config 2024-06-16 15:35:38 +02:00