File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change 159159 (interpolation . ts-fold-range-seq)
160160 (list . ts-fold-range-seq)))
161161
162+ (defun ts-fold-parsers-ocaml ()
163+ " Rule set for OCaml."
164+ '((comment . ts-fold-range-ocaml-comment)
165+ (module_definition . ts-fold-range-ocaml-module-definition)
166+ (type_definition . ts-fold-range-ocaml-type-definition)
167+ (value_definition . ts-fold-range-ocaml-value-definition)))
168+
162169(defun ts-fold-parsers-php ()
163170 " Rule set for PHP."
164171 '((namespace_use_group . ts-fold-range-seq)
172179 (ts-fold-range-line-comment node offset " #" )
173180 (ts-fold-range-c-like-comment node offset))))))
174181
175- (defun ts-fold-parsers-ocaml ()
176- " Rule sets for OCaml."
177- '((comment . ts-fold-range-ocaml-comment)
178- (module_definition . ts-fold-range-ocaml-module-definition)
179- (type_definition . ts-fold-range-ocaml-type-definition)
180- (value_definition . ts-fold-range-ocaml-value-definition)))
181-
182182(defun ts-fold-parsers-python ()
183183 " Rule set for Python."
184184 '((function_definition . ts-fold-range-python)
You can’t perform that action at this time.
0 commit comments