Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix #1341 - Make sure initializationOptions is at least empty object #1897

Merged
merged 3 commits into from
Jul 30, 2020

Conversation

zulus
Copy link
Contributor

@zulus zulus commented May 7, 2020

Simple change that allows me to register vls in eclipse LSP4E

@@ -83,6 +83,7 @@ export class VLS {
}

async init(params: InitializeParams) {
params.initializationOptions = params.initializationOptions || {};
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Required to use VLS in Eclipse LSP4E, probably other simple implementation also. This field normally not exists.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No longer needed since we now use ?. to access it

@@ -118,6 +118,18 @@ export function getDefaultVLSConfig(): VLSConfig {
experimental: {
templateInterpolationService: false
}
}
},
css: {},
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

VLS just forward config.emmet and others to sub-services. Even undefined, after this sass <style lang="scss"> is operational.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

OK, will take this PR then

@zulus zulus force-pushed the bug_1341 branch 3 times, most recently from 15ea6a0 to 93b7f7f Compare May 10, 2020 12:37
@octref
Copy link
Member

octref commented Jul 30, 2020

No longer applies, and should already be fixed by #1705.

@octref octref closed this Jul 30, 2020
@octref octref reopened this Jul 30, 2020
@octref octref closed this Jul 30, 2020
@octref octref reopened this Jul 30, 2020
@octref octref merged commit db76211 into vuejs:master Jul 30, 2020
@octref
Copy link
Member

octref commented Jul 30, 2020

Thank you and sorry for the delay 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants