---
title: "Neocaml 0.6: Opam, Dune, and More"
url: https://daily.dev/posts/neocaml-0-6-opam-dune-and-more-gb3zhi4kq
source_url: https://batsov.com/articles/2026/03/25/neocaml-0-6-opam-dune-and-more/
type: article
source: "Bozhidar Batsov"
published: 2026-03-31T12:29:39.569Z
updated: 2026-03-31T12:54:47.295Z
tags: ["ocaml"]
reading_time: 5
upvotes: 0
comments: 0
language: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Neocaml 0.6: Opam, Dune, and More

**[Bozhidar Batsov](https://daily.dev/sources/batsov)** · 5 min read · 0 upvotes · 0 comments

## Summary

Neocaml 0.6 is a significant release for the Emacs OCaml package, adding Tree-sitter-based major modes for Opam and Dune files. The new neocaml-opam-mode provides font-lock, indentation, Imenu navigation, and a flymake backend running opam lint for inline diagnostics. neocaml-dune-mode handles dune, dune-project, and dune-workspace files with syntax highlighting, indentation, and stanza navigation. A new neocaml-dune-interaction-mode minor mode adds keybindings for common Dune commands (build, test, clean, format, run) with watch mode support and utop REPL integration. All new modes are isolated from the core OCaml modes and optional. Known rough edges include immature upstream Tree-sitter grammars for Opam and Dune, with the author actively contributing fixes upstream.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://batsov.com/articles/2026/03/25/neocaml-0-6-opam-dune-and-more/>

## Similar posts on daily.dev

- [Neocaml 0.9: A Better REPL, Completion, and More Robustness](https://daily.dev/posts/neocaml-0-9-a-better-repl-completion-and-more-robustness-uqdamws86) · Bozhidar Batsov · 0 upvotes · 0 comments
- [adoc-mode 0.8](https://daily.dev/posts/adoc-mode-0-8-xjzwax4xm) · Meta Redux · 0 upvotes · 0 comments

---

Tags: [#ocaml](https://daily.dev/tags/ocaml)

[View this post on daily.dev](https://daily.dev/posts/neocaml-0-6-opam-dune-and-more-gb3zhi4kq)
