Skip to content

fix(css,html,emmet): guard against non-array custom data configuration - #128

Closed
stonerl wants to merge 1 commit into
volarjs:masterfrom
stonerl:fix-nova-crash
Closed

stonerl wants to merge 1 commit into
volarjs:masterfrom
stonerl:fix-nova-crash

Conversation

@stonerl

@stonerl stonerl commented Sep 28, 2026 •

Copy link
Copy Markdown

I'm very sorry I did not intend to open this PR. 🙇‍♂️

Some editors return non-array junk for unset configuration sections
instead of undefined, which made `?? []` a no-op and crashed the
language server when iterating `css.customData`, `html.customData`,
or calling `.includes` on `emmet.excludeLanguages`.
@stonerl stonerl closed this Sep 28, 2026
@stonerl
stonerl deleted the fix-nova-crash branch September 28, 2026 13:52
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.

1 participant