ray-x / lsp_signature.nvim

LSP signature hint as you type
Apache License 2.0
2.01k stars 56 forks source link

Modularize highlighting #263

Open litoj opened 1 year ago

litoj commented 1 year ago

Aside of mentioning InsSearch in FAQ but in code actually using Search, it would be nice if there was a way to use vim.lsp.util.convert_input_to_markdown_lines and possibly also vim.lsp.util.stylize_markdown for displaying floating window signature that could be highlighted like the rest of documentation. I have a plugin to properly format the documentation from lsp to something treesitter is happy with so that the documentation looks better. It is similar to noice.nvim only simpler, so the provided noice option doesn't help here.

Would it be possible to use the formentioned preformatters and then add an extra highlight group to the active parameter instead of highlighting only the parameter and the rest being blank? Or at least for the documentation part of the lsp request.