this post was submitted on 23 May 2024
13 points (100.0% liked)

Neovim

2203 readers
1 users here now

founded 2 years ago
MODERATORS
 

So I've just started using the native LSP inlay hints. I was wondering, does anybody know how to move the inlay hints to the end of the line, instead of in the middle of the line? Matter of preference I suppose, but I find it clutters the line too much.

you are viewing a single comment's thread
view the rest of the comments
[–] _hovi_ 2 points 5 months ago

Just an update in case anyone else comes across this post - I found this plugin which allows me to put the inlay hints at the end of the line and it works great. Make sure to modify the display_callback to change how it looks.