ray-x / go.nvim

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

Fix for inlay_hint.lua:383: enable: expected boolean, got table #456 #457

Closed Maduki-tech closed 1 month ago

Maduki-tech commented 1 month ago

456

Fix for the inlay_hint.lua file.

The documentation said that the parameters need to be changed from: enable({enable},{bufnr}) to: enable({bufnr}, {enable}) Also it only takes in the buffer number and not a table.

Maduki-tech commented 1 month ago

Seems like, when i Update my Neovim Version to nightly the API Documentations would change...

ray-x commented 1 month ago

Thanks. It is a bit painful to follow nightly.