Skip to content

Instantly share code, notes, and snippets.

@BigRedEye
Created August 5, 2022 13:20
Show Gist options
  • Save BigRedEye/253629638e1d71f4df667a3e8e05a1d3 to your computer and use it in GitHub Desktop.
Save BigRedEye/253629638e1d71f4df667a3e8e05a1d3 to your computer and use it in GitHub Desktop.
{
"jsonrpc": "2.0",
"method": "textDocument/publishDiagnostics",
"params": {
"diagnostics": [
{
"code": "ovl_ambiguous_call",
"message": "Call to 'foo' is ambiguous",
"range": {
"end": {
"character": 7,
"line": 4
},
"start": {
"character": 4,
"line": 4
}
},
"relatedInformation": [
{
"location": {
"range": {
"end": {
"character": 8,
"line": 0
},
"start": {
"character": 5,
"line": 0
}
},
"uri": "file:///home/sergey/dev/test/nvim-related-info/main.cpp"
},
"message": "Candidate function"
},
{
"location": {
"range": {
"end": {
"character": 8,
"line": 1
},
"start": {
"character": 5,
"line": 1
}
},
"uri": "file:///home/sergey/dev/test/nvim-related-info/main.cpp"
},
"message": "Candidate function"
}
],
"severity": 1,
"source": "clang"
}
],
"uri": "file:///home/sergey/dev/test/nvim-related-info/main.cpp",
"version": 0
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment