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

feat(language_service): Allow users to add custom css custom data #8

Merged
merged 4 commits into from
Dec 7, 2024

Conversation

Princesseuh
Copy link
Member

What does this change?

Update language service to take a vec of custom data instead of a defined one. WASM doesn't have access to this yet, but this PR also prepares for that eventually.

This PR also includes a refactors to the document handling inside of the document store, following previous work I'd done in https://github.com/web-lsp/csslsrs/pull/6 for perf reasons

How is it tested?

Tests should still pass, updated ones that needed to use new options

How is it documented?

Updated docs for affected methods

@github-actions github-actions bot added crt:csslsrs Changes in the CSSlsrs crate. crt:weblsp Changes in the WEBlsp crate. labels Dec 7, 2024
@github-actions github-actions bot added the pkg:csslsrs Changes in the CSSlsrs JS API. label Dec 7, 2024
Copy link

codspeed-hq bot commented Dec 7, 2024

CodSpeed Performance Report

Merging #8 will not alter performance

Comparing feat/custom_css_data (3705cb4) with main (b5e5338)

Summary

✅ 8 untouched benchmarks

@goulvenclech goulvenclech merged commit 97488ff into main Dec 7, 2024
7 checks passed
@goulvenclech goulvenclech deleted the feat/custom_css_data branch December 7, 2024 16:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
crt:csslsrs Changes in the CSSlsrs crate. crt:weblsp Changes in the WEBlsp crate. pkg:csslsrs Changes in the CSSlsrs JS API.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants