Skip to content

Commit 17d131f

Browse files
authored
feat(ocaml): Support for ocaml-mode and caml-mode (#24)
* feat(ocaml): Support for ocaml-mode and caml-mode * rev indentation
1 parent 0e83f0e commit 17d131f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

ts-fold.el

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,7 @@ The alist is in form of (major-mode . (foldable-node-type)).")
6767
`((agda-mode . ,(ts-fold-parsers-agda))
6868
(c-mode . ,(ts-fold-parsers-c))
6969
(c++-mode . ,(ts-fold-parsers-c++))
70+
(caml-mode . ,(ts-fold-parsers-ocaml))
7071
(csharp-mode . ,(ts-fold-parsers-csharp))
7172
(css-mode . ,(ts-fold-parsers-css))
7273
(elixir-mode . ,(ts-fold-parsers-elixir))
@@ -81,6 +82,7 @@ The alist is in form of (major-mode . (foldable-node-type)).")
8182
(json-mode . ,(ts-fold-parsers-json))
8283
(jsonc-mode . ,(ts-fold-parsers-json))
8384
(nix-mode . ,(ts-fold-parsers-nix))
85+
(ocaml-mode . ,(ts-fold-parsers-ocaml))
8486
(php-mode . ,(ts-fold-parsers-php))
8587
(python-mode . ,(ts-fold-parsers-python))
8688
(rjsx-mode . ,(ts-fold-parsers-javascript))

0 commit comments

Comments
 (0)