Bug: Display hints only for current line doesn't work.
vunhatchuong opened this issue · 1 comments
vunhatchuong commented
Make sure you have done the following
- I have updated to the latest version of the plugin.
- I have read the README.
- LSP inlay hints do work correctly without this plugin when using
vim.lsp.inlay_hint.enable(true)
. (If not, then the problem lies with your LSP or your LSP configuration, not this plugin.)
Bug Description
I use the display hints only for the current line code in the README. Which works only if this plugin is not enabled.
Relevant Screenshot
No response
To Reproduce
I use the default options of this plugin and the code snippet linked in README
. The code snippet does work if I disable this plugin.
neovim version
v0.10.0
chrisgrieser commented
Sorry, I haven't phrased it clearly enough in the docs. The linked snippet is not meant to complement this plugin, it's simply an alternative approach.
There are currently no plans to display hints at the end of line and restrict it to the current line only, sorry. (Though I am open to PRs if anyone wants to implement that.)