ray-x / go.nvim

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

Is there any way to mark the unused functions #418

Closed supengchuan closed 5 months ago

supengchuan commented 6 months ago

As mentioned in the title, whether go-nvim can support mark the unused functions using virtual text .

In JetBrains Goland, if a function is not used, it will be grayed out, informing the developer that the function is not being used.

I know that go-nvim has golint integration, but it requires additional running commands. I don't know if there are any plans to integrate this feature into virtual text to directly display the functions that are annotated as unused.