requests.rs : remplace usage of CSSlsrs' store by WEBlsp own store
Open
enhancement
help wanted
P2 - high
- Dominant language
- Rust
- Stars
- 25
- Forks
- 0
- PR merge metrics
- No merged PRs in 30d
Description
See `fn get_language_id(` in `request.rs`, used to dispatch the request to the appropriate language handler based on the current document's language id.
For now, we use CSSlsrs' store, because we only support CSS. So I can just retrieve the document from this store from its URI. Soon, WEBlsp will support multiple languages, and have its own store. The document will be retrieved from this store instead, and the stores for each language will be created with `LANGlsrs::new_with_store()` instead of `LANGlsrs::new()`.
Contributor guide
Assessment
This issue has not been assessed yet.