ray-x / go.nvim

G'day Nvimer, Joyful Gopher: Discover the Feature-Rich Go Plugin for Neovim
MIT License
2.12k stars 124 forks source link

GoTest open Trouble.nvim #184

Closed ziombo closed 2 years ago

ziombo commented 2 years ago

Is it possible to set GoTest to open Trouble.nvim instead of the standard quickfix window?

ray-x commented 2 years ago

I am not familiar with Trouble, is there other plug can output the test result to Trouble? Also the GoTest output is not lsp diagnostic output.

ziombo commented 2 years ago

The issue is not with outputting results to Trouble, but with not opening quickfix list automatically after some tests fail and opening Trouble instead. Trouble can display quickfix data, just in a nicer way.

After running GoTest quickfix window is opened if a test fails: image

Then when I open Trouble manually it looks like this(Trouble is the window on the bottom, quickfix on top): image it's just an enhanced representation of quickfix window (or other source).

ray-x commented 2 years ago

This is supported in 93c724d