branch: elpa/treesit-fold
commit 17d131f69a717d7e8cc6d3af9dfa7d2b5e2b78ef
Author: Jen-Chieh Shen <[email protected]>
Commit: GitHub <[email protected]>

    feat(ocaml): Support for ocaml-mode and caml-mode (#24)
    
    * feat(ocaml): Support for ocaml-mode and caml-mode
    
    * rev indentation
---
 ts-fold.el | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/ts-fold.el b/ts-fold.el
index bf2af89741..4a6f509a91 100644
--- a/ts-fold.el
+++ b/ts-fold.el
@@ -67,6 +67,7 @@ The alist is in form of (major-mode . (foldable-node-type)).")
   `((agda-mode       . ,(ts-fold-parsers-agda))
     (c-mode          . ,(ts-fold-parsers-c))
     (c++-mode        . ,(ts-fold-parsers-c++))
+    (caml-mode       . ,(ts-fold-parsers-ocaml))
     (csharp-mode     . ,(ts-fold-parsers-csharp))
     (css-mode        . ,(ts-fold-parsers-css))
     (elixir-mode     . ,(ts-fold-parsers-elixir))
@@ -81,6 +82,7 @@ The alist is in form of (major-mode . (foldable-node-type)).")
     (json-mode       . ,(ts-fold-parsers-json))
     (jsonc-mode      . ,(ts-fold-parsers-json))
     (nix-mode        . ,(ts-fold-parsers-nix))
+    (ocaml-mode      . ,(ts-fold-parsers-ocaml))
     (php-mode        . ,(ts-fold-parsers-php))
     (python-mode     . ,(ts-fold-parsers-python))
     (rjsx-mode       . ,(ts-fold-parsers-javascript))

Reply via email to