-
-
Notifications
You must be signed in to change notification settings - Fork 223
Closed
Labels
FixedFixed in master branch. Pending production release.Fixed in master branch. Pending production release.bugSomething isn't workingSomething isn't working
Description
Describe the bug
The language server is failing on initialization when used with the emacs-lsp client: "Cannot read properties of undefined (reading 'debug')"
I fixed it using optional chaining (?.) when accessing the .debug attribute (file server.ts):
... .['language-server']?.debug
Reproduction
Simple initialization.
Expected behaviour
The language server successfully initializes.
System Info
- OS: Ubuntu Bionic 18.04
- IDE: GNU Emacs 28.1 + Emacs LSP
Which package is the issue about?
svelte-language-server
Additional Information, eg. Screenshots
No response
michaelfranzl
Metadata
Metadata
Assignees
Labels
FixedFixed in master branch. Pending production release.Fixed in master branch. Pending production release.bugSomething isn't workingSomething isn't working