Merge pull request #341 from rchl/patch-1

fix crash on not passing "userLanguages" option
master
Brad Cornes 2021-06-01 12:22:13 +01:00 committed by GitHub
commit 94c1942cf4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 1 deletions

View File

@ -156,7 +156,9 @@ async function createProjectService(
editor: {
connection,
globalSettings: params.initializationOptions.configuration as Settings,
userLanguages: params.initializationOptions.userLanguages,
userLanguages: params.initializationOptions.userLanguages
? params.initializationOptions.userLanguages
: {},
// TODO
capabilities: {
configuration: true,