Skip to content

Commit

Permalink
Merge pull request #13 from ocaml-mlx/editor-support-readme
Browse files Browse the repository at this point in the history
add editor support section to the readme
  • Loading branch information
ixzzd authored Dec 6, 2024
2 parents 31bc70d + 0660b1c commit 4c380a4
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 4c380a4

Please sign in to comment.