Skip to content

[BUG] neotest-golang is currently broken #3711

@minego

Description

@minego

Plugin

No response

Nixpkgs Release

unstable

Home Manager Release

None

I have read the FAQ

  • I have read the FAQ and my bug is not listed there.

Description

Recently updates to the go parser for treesitter have broken neotest-golang. The result is that currently installing neotest, neotest-golang and treesitter with nixvim results in errors and it is unable to find any tests.

This has been fixed in the most recent neotest-golang release: https://github.com/fredrikaverpil/neotest-golang/releases/tag/v2.0.0

From the release notes for v2.0.0 it appears that the solution is to update neotest-golang, and nothing else should be required.

Minimal, Reproducible Example (MRE)

programs.nixvim = {
plugins = {
 treesitter = {
      enable = true;
    };
    neotest = {
      enable = true;

      adapters = {
        golang = {
          enable = true;
        };
      };
    };
  };
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions