elixir-tools / credo-language-server

LSP implementation for Credo.
MIT License
96 stars 11 forks source link

Should not fail on unimplemented methods #10

Closed mhanberg closed 1 year ago

mhanberg commented 1 year ago

Description

8 describes a situation in which the eglot emacs LSP client does not seem to respect server capabilities and sends the document symbols request, which credo-language-server does not implement, which causes the server to crash.

credo-language-server should tolerate bad clients, and return the method_not_found error response instead.

Currently blocked on https://github.com/mhanberg/gen_lsp/issues/11

Will fix #8