Closed jneem closed 3 months ago
I had a try with this but it had even a little more boilerplate. It would be fine if the lsp_types
types were at the "top level", but the Option<Vec<lsp_types::DiagnosticRelatedInformation>>
is pretty annoying...
Unfortunately the
lsp_types
crate doesn't provide a lot ofOrd
impls, so I had to write some wrappers. Is there a better way? (Of course we could use hashmaps to dedup, butlsp_types
also doesn't provideHash
impls)Fixes #1882