# \#treesitter

**URL:** https://discuss.ocaml.org/tag/treesitter/644.md

[Latest](https://discuss.ocaml.org/latest.md) · [Categories](https://discuss.ocaml.org/categories.md) · [Tags](https://discuss.ocaml.org/tags.md)

---

## [\[ANN\] Code navigation and search on Github](https://discuss.ocaml.org/t/ann-code-navigation-and-search-on-github/17999)

<div class="topic-metadata">

**Author:** [@314eter](https://discuss.ocaml.org/u/314eter)\
**Replies:** 1\
**Last updated:** [April 20, 2026, 9:23am UTC](https://discuss.ocaml.org/t/ann-code-navigation-and-search-on-github/17999 "2026-04-20T09:23:08Z")

</div>

GitHub is now using tree-sitter-ocaml for code navigation and code search. Code highlighting should be more accurate (compared to the old TextMate grammar) and supports all features up to OCaml 5.4. There is a symbols …

---

## [Ocaml-ts-mode - Emacs ocaml major mode using tree sitter](https://discuss.ocaml.org/t/ocaml-ts-mode-emacs-ocaml-major-mode-using-tree-sitter/13807)

<div class="topic-metadata">

**Author:** [@orbitz](https://discuss.ocaml.org/u/orbitz)\
**Replies:** 32\
**Last updated:** [March 8, 2025, 8:03pm UTC](https://discuss.ocaml.org/t/ocaml-ts-mode-emacs-ocaml-major-mode-using-tree-sitter/13807 "2025-03-08T20:03:42Z")

</div>

This weekend I got interested in emacs major modes based on treesitter, so I decided to implement ocaml-ts-mode. The code can be found here: It was actually very easy thanks to the hard work others have done in creat…
