nvim-lua / lsp_extensions.nvim

Repo to hold a bunch of info & extension callbacks for built-in LSP. Use at your own risk :wink:
MIT License
212 stars 19 forks source link

Fix Error in inlay_hints.lua table expected (#15) #16

Closed ten3roberts closed 3 years ago

ten3roberts commented 3 years ago

This PR fixes the issue describes in issue 15 when result == 0.

This fix does not use the if statement with a print above as that causes a block when the text is printed to the screen with the "ENTER or type command to continue" prompt, which disrupts the user especially on temporary buffers opening from vim-fugitive etc.

glepnir commented 3 years ago

Please check the latest commit.