rossabaker / lsp-scala

Scala support for lsp-mode using metals
GNU General Public License v3.0
49 stars 6 forks source link

one chance to start the server... #4

Closed fommil closed 5 years ago

fommil commented 6 years ago

If the server fails to come up, any subsequent lsp-scala-enable calls are apparently ignored.

I can't figure out how to reset the state, other than restart emacs, which is always tragic.

rossabaker commented 6 years ago

I've noticed this, too. lsp-restart-workspace doesn't work. I see there is an lsp--uninitialize-workspace, which looks promising, but also looks like it should already be called. I haven't yet tracked down whether I'm missing a hook or if lsp-mode should manage this for us.