ebkalderon / tower-lsp

Language Server Protocol implementation written in Rust
Apache License 2.0
1k stars 55 forks source link

Support LSP version 3.16.0 #270

Closed ebkalderon closed 3 years ago

ebkalderon commented 3 years ago

Added

Fixed

ebkalderon commented 3 years ago

@silvanshade A bit of a heads-up: I noticed while hacking on this branch that workspace/semanticTokens/refresh is a server-to-client request. I double-checked lspower's implementation, just to make sure it matches up too, and I noticed that the semantic_tokens_refresh method is incorrectly defined as a client-to-server request.

Changing this in lspower would be considered a breaking API change for the crate, unfortunately. Perhaps you may be able to work around it by creating a new 1.X patch release and yanking older versions to avoid other projects accidentally depending on them?