• Igor Drozdov's avatar
    LSIF: Support markdown-like content format · 5899cfc8
    Igor Drozdov authored
    Hover contents value can be either a list of objects:
    
    [{ "value": "func main()", "language": "go" }]
    
    Or a list of strings with documentation:
    
    ["String of documentation"]
    
    Or a markdown object:
    
    { "value": "```go\nfunc main()\n```", "kind": "markdown" }
    
    This commit introduces support for the markdown object.
    
    The content in the markdown object still won't be highlighted,
    but at least it won't raise an error
    5899cfc8
hovers.go 2.82 KB