WhoIsSethDaniel / goldsmith.nvim

Use Neovim features, such as built-in LSP and tree-sitter, and develop Go code.
MIT License
57 stars 3 forks source link

test with gopls 0.9.0 and get inlay hints working #32

Closed WhoIsSethDaniel closed 2 years ago

WhoIsSethDaniel commented 2 years ago

Especially look at inlay hints (a new feature in 0.9.0). Look at rust-tools as an example for an extension that supports these hints.

WhoIsSethDaniel commented 2 years ago

I have inlay hints working thanks (a lot) to the rust-tools code I used as an example. It's just a matter of adding the UI for all this.

WhoIsSethDaniel commented 2 years ago

try using the vtext as overlay instead of as eol or right_alight. It may look better that way.

WhoIsSethDaniel commented 2 years ago

overlay does not work as I hoped it would. Set back to eol.

WhoIsSethDaniel commented 2 years ago

checked in very early UI. I will close this bug and create a new bug for improvements to the UI and docs.