Lsp: [regression] LSP fails to initialize

Created on 18 Jul 2019  路  3Comments  路  Source: sublimelsp/LSP

With this commit LSP fails to initialize, we can see it in the console (enable debug):

LSP: global configs ['ocaml=False', 'vscode-css=False', 'haskell-ide-engine=False', 'dart=False', 'polymer-ide=False', 'javascript-typescript-langserver=False', 'metals=False', 'intelephense-ls=False', 'ruby=False', 'jdtls=False', 'golsp=False', 'gopls=False', 'bashls=False', 'typescript-language-server=False', 'lsp-tsserver=False', 'pyls=False', 'clangd=False', 'phpls=False', 'rls=False', 'reason=False', 'eslint=False', 'flow=False', 'ra-lsp=False', 'cquery=False']
LSP: window 5 has override for metals {'enabled': True}
LSP: window 5 starting 2 initial views
LSP: window 5 requests metals for ****
LSP: starting in ****
LSP: starting ['metals-sublime']
LSP:  --> initialize
LSP: window 5 added session metals
reloading settings Packages/User/PackageSync.sublime-settings
LSP: Message could not be parsed.

I guess the initialize json got broken since the commit

  • OS and language server: Ubuntu / Metals
  • How you installed LSP: Git
  • Minimal reproduction steps:
  1. check out the mentioned commit hash
  2. Open sublime
  3. notice no LSP functionality will work
bug

Most helpful comment

@arsham issue is fixed on master. Just do a git pull

All 3 comments

I'm also getting this message:

LSP: json: cannot unmarshal array into Go struct field .valueSet of type protocol.SymbolKind

@arsham issue is fixed on master. Just do a git pull

Whoops, thanks guys!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

predragnikolic picture predragnikolic  路  7Comments

tomv564 picture tomv564  路  4Comments

chenglou picture chenglou  路  4Comments

predragnikolic picture predragnikolic  路  3Comments

toxinu picture toxinu  路  5Comments