jaredly / jaredly/reason-language-server
Syntax highlighting for nested expression statements
- Dominant language
- OCaml
- Stars
- 649
- Forks
- 85
- PR merge metrics
- No merged PRs in 30d
Description
Hi, I'm not sure if this is even part of the language server so please close this if it's not :)
When ever I use an expression like `[%mui.withStyles ...]` nested inside a module, the syntax highlighting fails. It works if it is on the base level, see this example:

If this doesn't come from the lsp, could you point me in the direction of where I'd need to report this? Because the highlighting is completely gone when the lsp isn't installed, that's why I hope it's relevant!
Contributor guide
No contributing guide indexed for this repository
Research direction
Start with the nested `[%mui.withStyles ...]` expression described in the issue and compare syntax highlighting with and without the language server. Trace the syntax-highlighting entry point for module-nested expressions; done means highlighting is preserved for the nested form as it is at the base level.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- ocaml
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100