From 0660b1c9c9a028a4996a0519df113475e24cfdd1 Mon Sep 17 00:00:00 2001 From: Egor Chemokhonenko Date: Fri, 6 Dec 2024 09:54:20 +0000 Subject: [PATCH] add editor support section to the readme --- README.md | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/README.md b/README.md index aa982b8..652a79c 100644 --- a/README.md +++ b/README.md @@ -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