protocol
protocol copied to clipboard
Package protocol implements Language Server Protocol specification in Go
Closes #47 Replacing go.lsp.dev/protocol with this repository and the following server capability: ```go var semanticTokensOptions = lsp.SemanticTokensOptions{ WorkDoneProgressOptions: lsp.WorkDoneProgressOptions{ WorkDoneProgress: false, }, Legend: &lsp.SemanticTokensLegend{ TokenTypes: SemanticTokenLegend, TokenModifiers: []lsp.SemanticTokenModifiers{}, }, Range:...
Bumps [golang.org/x/sys](https://github.com/golang/sys) from 0.0.0-20220319134239-a9b59b0215f8 to 0.1.0. Commits See full diff in compare view [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter...
Bumps [golang.org/x/sys](https://github.com/golang/sys) from 0.0.0-20220319134239-a9b59b0215f8 to 0.1.0. Commits See full diff in compare view [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter...
Bumps [golang.org/x/text](https://github.com/golang/text) from 0.3.7 to 0.3.8. Commits 434eadc language: reject excessively large Accept-Language strings 23407e7 go.mod: ignore cyclic dependency for tagging b18d3dd secure/precis: replace bytes.Compare with bytes.Equal 795e854 all: replace...
Bumps [github.com/prometheus/client_golang](https://github.com/prometheus/client_golang) from 1.7.1 to 1.11.1. Release notes Sourced from github.com/prometheus/client_golang's releases. 1.11.1 / 2022-02-15 [SECURITY FIX] promhttp: Check validity of method and code label values prometheus/client_golang#987 (Addressed CVE-2022-21698) What's...
SemanticTokensOptions is defined as follow in [Semantic Token](https://microsoft.github.io/language-server-protocol/specifications/lsp/3.17/specification/#textDocument_semanticTokens) ```ts export interface SemanticTokensOptions extends WorkDoneProgressOptions { /** * The legend used by the server */ legend: SemanticTokensLegend; /** * Server supports...
Is there a long term plan to continue to maintain this package? There are new features in protocol version 3.18 that would be useful to have integrated here.
When testing against vscode, using `client.ApplyEdit` fails when unmarshalling the response. It looks like the response structure should be ``struct{Applied bool `json:"applied"`}``, but it's unmarshalled directly into the boolean result....
I encountered an issue with my language server stalling after sending an `applyEdit` request to the client from inside of the processing of an `executeCommand` request. I believe this is...
I've just started fiddling around with this package, and this is also my first venture into LSPs. If I understand correctly, in order to send diagnostics about a file in...