Add support for related diagnostic
Lsp Diagnostic supports related information. This can be useful for paired markers like duplicate definitions. Using this markers can point to each other and the paired diagnostic location can be easily found.
For example in vscode, hovering over the marker shows a link in the tooltip and clicking this jumps to the related diagnostic.