SwiftLSPClient icon indicating copy to clipboard operation
SwiftLSPClient copied to clipboard

Type of `CompletionItem.documentation` doesn't match LSP spec

Open alidn opened this issue 4 years ago • 2 comments

The LPS spec has type string | MarkupContent for CompletionItem.documentation, but this package has type AnyCodable?. If this is not indented, I can send a pull request. Thanks

alidn avatar Aug 23 '21 05:08 alidn

Hello!

This was not intended. Because of the huge number of types required to support the spec, I've cut corners in many areas. This is one. I would be happy to accept a PR that corrects this!

mattmassicotte avatar Aug 23 '21 16:08 mattmassicotte

Thanks! I'll send a pull request

alidn avatar Aug 24 '21 19:08 alidn