Folke Lemaitre

Results 961 comments of Folke Lemaitre

My PR has been merged, so custom snippets work on 0.10. You say you're using luasnip. This is not about luasnip. You cant use both at the same time

It doens't work right away since jdtls probably doesnt correctly advertise the capability or dynamic capability. A better way is to force the capability on the client side, since we...

After further investigating this, it seems that in LazyVim, we only check for inlay hint support for server capabilities, not later on when the server advertises it through a dynamic...

@dpetka2001 yeah indeed. I'm working on a fix. Almost ready. There's some other things that also dont work for lsp servers with dynamic capabilities. Like with tsserver, the document highlights...

![image](https://github.com/LazyVim/LazyVim/assets/292349/14feef41-cc54-4ab1-b5a7-56e072caefa5) I've added an `on_supports_method`. Similar to `on_attach` but also gets called on dynamic advertisemtns of capabilities/ So it will execute exactly once, either due to LspAttach or afterwards once...

I just fully tested jdtls and fixed inlay hints in the commit above. All the default inlay hint stuff to enable it works as expected.

That line is not needed. the `opts` are already properly passed to nvim-jdtls. Can you please remove any of your customizations and try again. It really does work. There's also...

Check my commit https://github.com/LazyVim/LazyVim/commit/e5ea8abd38c4b93edccd69c9ef4462377103a9c3 line 123 Before that change you indeed needed to add the `settings = opts.settings`. With that change that really should no longer be needed?

ok, gotcha. I thouhgt it merged with all the opts. Just pushed a fix. Thanks!