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

lang: yaml: Fix TypeError undefined length #1229

Merged
merged 1 commit into from
Jul 26, 2023

Conversation

jetm
Copy link
Contributor

@jetm jetm commented Jul 26, 2023

In YAML files LSP completion is not happening because yaml-language-server is failing with error:

TypeError: Cannot read properties of undefined (reading 'length')

from out/server/src/languageserver/handlers/settingsHandlers.js:78:51, which it's expecting to have yaml.schemaStore.url.length and it doesn't exist.

Signed-off-by: Javier Tia javier.tia@gmail.com

In YAML files LSP completion is not happening because
yaml-language-server is failing with error:

    TypeError: Cannot read properties of undefined (reading 'length')

from out/server/src/languageserver/handlers/settingsHandlers.js:78:51,
which it's expecting to have yaml.schemaStore.url.length and it's
doesn't exist.

Signed-off-by: Javier Tia <javier.tia@gmail.com>
@folke folke merged commit d7ca822 into LazyVim:main Jul 26, 2023
@folke
Copy link
Collaborator

folke commented Jul 26, 2023

thanks

joshmedeski pushed a commit to joshmedeski/LazyVim that referenced this pull request Sep 1, 2023
In YAML files LSP completion is not happening because
yaml-language-server is failing with error:

    TypeError: Cannot read properties of undefined (reading 'length')

from out/server/src/languageserver/handlers/settingsHandlers.js:78:51,
which it's expecting to have yaml.schemaStore.url.length and it's
doesn't exist.

Signed-off-by: Javier Tia <javier.tia@gmail.com>
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.

None yet

2 participants