ilya-biryukov added a comment.

In https://reviews.llvm.org/D35894#903552, @malaperle wrote:

> I think he meant to have multiple sections in the hover, one C/C++ and one 
> not. But we noticed you can have an array of MarkedString in Hover so it 
> should be fine.


I totally misunderstood the question. Good to know it all works without 
changing the LSP.
Just to make sure I got it right this time: the use-case is to, e.g., return 
both a code snippet (having `"language": cpp`) and a documentation string 
(without `language`) as a result of hover request?


https://reviews.llvm.org/D35894



_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to