Skip to content

Commit 0660b1c

Browse files
committed
add editor support section to the readme
1 parent 31bc70d commit 0660b1c

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

README.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,21 @@ dialect, put this in your `dune-project` file:
5656
(run mlx-pp %{input-file}))))
5757
```
5858

59+
### Editor Support
60+
61+
#### VS Code
62+
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:
63+
```json
64+
{
65+
"files.associations": {
66+
"*.mlx": "ocaml"
67+
}
68+
}
69+
```
70+
71+
#### Neovim
72+
For Neovim users, install plugin: https://github.com/ocaml-mlx/ocaml_mlx.nvim
73+
5974
## Useful Links
6075

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

0 commit comments

Comments
 (0)