From 645e815ebe11dbb86781c3eb645d3d67cd62cf7c Mon Sep 17 00:00:00 2001 From: polwex Date: Fri, 27 Jun 2025 16:34:09 +0700 Subject: nice nice. lsp still doesnt work tho --- dune-project | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) (limited to 'dune-project') diff --git a/dune-project b/dune-project index b78e6f4..0e7879b 100644 --- a/dune-project +++ b/dune-project @@ -1,4 +1,4 @@ -(lang dune 3.13) +(lang dune 3.19) (name bs5) @@ -19,8 +19,18 @@ (name bs5) (synopsis "A short synopsis") (description "A longer description") - (depends ocaml dune) + (depends ocaml dune ocaml-lsp-server ocamlmerlin-mlx ocamlformat-mlx) (tags (topics "to describe" your project))) +(dialect + (name mlx) + (implementation + (extension mlx) + (merlin_reader mlx) + (format + (run ocamlformat-mlx %{input-file})) + (preprocess + (run mlx-pp %{input-file})))) + ; See the complete stanza docs at https://dune.readthedocs.io/en/stable/dune-files.html#dune-project -- cgit v1.2.3