<commit_before>;;; init-ocaml.el --- Support the OCaml language -*- lexical-binding: t -*-
;;; Commentary:
;;; Code:

(when (maybe-require-package 'tuareg)
  (when (maybe-require-package 'merlin)
    (add-hook 'tuareg-mode-hook 'merlin-mode)

    (with-eval-after-load 'merlin
      (with-eval-after-load 'company
        (push 'merlin-company-backend company-backends)))
<commit_msg>init-ocaml: better handling of merlin-company<commit_after>;;; init-ocaml.el --- Support the OCaml language -*- lexical-binding: t -*-
;;; Commentary:
;;; Code:

(when (maybe-require-package 'tuareg)
  (when (maybe-require-package 'merlin)
    (add-hook 'tuareg-mode-hook 'merlin-mode)

    (when (maybe-require-package 'merlin-company)
      (with-eval-after-load 'merlin
        (with-eval-after-load 'company
          (push 'merlin-company-backend company-backends))))

{'fraction_non_alphanumeric': 0.1645274212368728, 'fraction_numerical': 0.0, 'mean_word_length': 3.492146596858639, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1412145', 'n_tokens_mistral': 296, 'n_tokens_neox': 293, 'n_words': 59}