Skip to content

Commit

Permalink
add editor support section to the readme
Browse files Browse the repository at this point in the history
  • Loading branch information
ixzzd committed Dec 6, 2024
1 parent 31bc70d commit 0660b1c
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,21 @@ dialect, put this in your `dune-project` file:
(run mlx-pp %{input-file}))))
```

### Editor Support

#### VS Code
Syntax highlighting support for VS Code is still work in progress. As a temporary workaround, you can enable basic OCaml syntax highlighting by adding this to your settings:
```json
{
"files.associations": {
"*.mlx": "ocaml"
}
}
```

#### Neovim
For Neovim users, install plugin: https://github.com/ocaml-mlx/ocaml_mlx.nvim

## Useful Links

- Example with Dream web framework: https://github.com/aantron/dream/pull/330
Expand Down

0 comments on commit 0660b1c

Please sign in to comment.