12

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
[-] cd_slash_rmrf@programming.dev 5 points 1 month ago

sadly no; position of hint is determined by the LSP server.

you could use this plugin (now archived) which was the way many people used hints pre-0.10:

https://github.com/lvimuser/lsp-inlayhints.nvim

[-] _hovi_@lemmy.world 2 points 1 month ago

I was afraid that was the case yeah. I think I was using that before yeah, might just go back

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

Neovim

1967 readers
53 users here now

founded 1 year ago
MODERATORS