summaryrefslogtreecommitdiff
path: root/dune-project
diff options
context:
space:
mode:
authorpolwex <polwex@sortug.com>2025-06-27 16:34:09 +0700
committerpolwex <polwex@sortug.com>2025-06-27 16:34:09 +0700
commit645e815ebe11dbb86781c3eb645d3d67cd62cf7c (patch)
tree347b03391a5245de8a43198c9646719c2e892373 /dune-project
parent8be9a806a93b02eada372f3993c34bc6b2f26fea (diff)
nice nice. lsp still doesnt work tho
Diffstat (limited to 'dune-project')
-rw-r--r--dune-project14
1 files changed, 12 insertions, 2 deletions
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