Tags: patch As discussed on https://lists.gnu.org/archive/html/emacs-devel/2024-01/msg00916.html here is the patch that adds the support for outline-minor-mode to treesit.el. It has been tested on c-ts-mode, dockerfile-ts-mode, elixir-ts-mode, heex-ts-mode, java-ts-mode, js-ts-mode, typescript-ts-mode, css-ts-mode, html-ts-mode, toml-ts-mode.