jaredly / jaredly/reason-language-server

OCaml 4.08 let-bind VS Code syntax highlighting broken

Open
#401 0 comments 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
OCaml
Stars
649
Forks
85
PR merge metrics
No merged PRs in 30d

Description

Using

```
let (let*) = Result.bind

let plus1 = (+) 1

let _ =
let* foo = Ok 1 in
let* bar = Ok (1 + foo) in
Ok (plus1 bar)
```

gives the following syntax highlighting in VS Code:

![image](https://user-images.githubusercontent.com/16548079/75268221-24894e80-57ef-11ea-8b54-7ffb06ac403a.png)

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No source file or test is named; start by reproducing the OCaml 4.08 example in VS Code and inspect the syntax-highlighting entry point. Done means the let* bindings, operators, and surrounding OCaml code receive the correct highlighting without regressions.

Written by the indexing model from the issue text.

Assessment

Tech stack
ocaml, vscode
Domain
tooling
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.