Ignore workspace/didChangeConfiguration #114
Labels
conclusion: resolved
Issue was resolved
topic: code
Related to content of the project itself
type: enhancement
Proposed improvement
Describe the request
The eglot LSP client for Emacs sends the
workspace/didChangeConfiguration
notification by default on startup (and if configuration changes later).arduino-language-server currently panics and dies if it receives this notification. However, since it's just a notification and doesn't demand the language server actually do anything, it seems like while unsupported it would be more useful as a no-op rather than a panic.
Describe the current behavior
The server panics when eglot connects and sends
workspace/didChangeConfiguration
.Arduino Language Server version
0.6.0
Arduino CLI version
0.23.0
Operating system
Linux
Operating system version
Debian 11.3
Additional context
For anyone finding this and trying to work around the issue, setting
eglot-connect-hook
tonil
will disable the call on startup, but it may still be fired later.eglot-connect-hook
is also flagged as a risky local variable which may require changing yourenable-local-variables
setting to load properly.Issue checklist
The text was updated successfully, but these errors were encountered: