ray-x / lsp_signature.nvim

LSP signature hint as you type
Apache License 2.0
2.02k stars 57 forks source link

Syntax highlighting for the floating window #215

Closed UtkarshVerma closed 2 years ago

UtkarshVerma commented 2 years ago

Would it be possible to have syntax highlighting for the function definition in the floating window? Maybe something related to treesitter?

ray-x commented 2 years ago

highlight is rendered with embedded markdown highlight. It does not support treesitter unless upstream support it. But it should support basic highlights.

UtkarshVerma commented 2 years ago

Okay, thanks for the quick info and thanks for making such a nice extension!

ray-x commented 2 years ago

image

Just in case you(or anyone) do not see any highlight (e.g. int and char should be highlighted in the above image). Feel free to reopen the ticket and specify the LSP you are using.