standardrb/standard

LSP server fails to initialise in Helix editor

benjamineskola opened this issue · 1 comments

When using standardrb --lsp in Helix I get error messages in the log:

2023-03-31T18:05:48.225 helix_lsp [ERROR] failed to initialize language server: failed to parse: invalid type: boolean `true`, expected struct ExecuteCommandOptions

As this worked in Neovim, I initially reported the bug to Helix: helix-editor/helix#6506 who responded:

This is a bug in StandardRB: it's sending "executeCommandProvider":true in the initialization response but that field can't be a boolean in the spec: https://microsoft.github.io/language-server-protocol/specifications/lsp/3.17/specification/#executeCommandOptions

Seems like the expected interface is here