Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

syntax highlighting #5

Open
rmmanseau opened this issue Feb 29, 2024 · 2 comments
Open

syntax highlighting #5

rmmanseau opened this issue Feb 29, 2024 · 2 comments

Comments

@rmmanseau
Copy link

how do you handle syntax highlighting when using this? could a tree sitter grammar be put together?

@andreypopp
Copy link
Member

I rely on standard ocaml grammar in vim/neovim for now which works pretty decently for me, but yeah, the proper way is to add a tree sitter grammar, shouldn't be to hard to build on top of the ocaml one.

@andreypopp
Copy link
Member

tree sitter grammar is available now https://github.com/ocaml-mlx/tree-sitter-mlx as well as a plugin for neovim https://github.com/ocaml-mlx/ocaml_mlx.nvim

what's missing is a plugin for vscode

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants