You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If params.initializationOptions is undefined, a TypeError occurs, preventing the init function from continuing. This line was added in a recent commit here: 7f49878
In that same file, there is a check to ensure params.initializationOptions exists before attempting to access config:
if (params.initializationOptions && params.initializationOptions.config) {
this.configure(params.initializationOptions.config);
}
Info
Problem
When using SublimeText with the LSP plugin, with vue-language-server, I get the following error in the SublimeText console:
Reproducible Case
I've traced the error back to this line:
vetur/server/src/services/vls.ts
Line 93 in 5f33524
If params.initializationOptions is undefined, a TypeError occurs, preventing the init function from continuing. This line was added in a recent commit here: 7f49878
In that same file, there is a check to ensure params.initializationOptions exists before attempting to access config:
If possible, I would like to submit a Pull Request for this, which would consist of this commit:
https://github.com/louisbourque/vetur/commit/3cc0b83827dda78ad2775e8688e6efd45b1d9318
The text was updated successfully, but these errors were encountered: