<commit_before>;;; lang/elm/config.el -*- lexical-binding: t; -*-

;; `elm-mode'
(setq elm-format-on-save t)

(add-hook! 'elm-mode-hook #'(flycheck-mode rainbow-delimiters-mode))

(set! :company-backend 'elm-mode 'company-elm)
(set! :repl 'elm-mode #'run-elm-interactive)


(def-package! flycheck-elm
  :when (featurep! :feature syntax-checker)
  :after elm-mode
  :hook (flycheck-mode . flycheck-elm-setup))
<commit_msg>lang/elm: wrap elm-mode config in after! block<commit_after>;;; lang/elm/config.el -*- lexical-binding: t; -*-

;; `elm-mode'
(setq elm-format-on-save t)

(after! elm-mode
  (add-hook! 'elm-mode-hook #'(flycheck-mode rainbow-delimiters-mode))
  (set! :company-backend 'elm-mode 'company-elm)
  (set! :repl 'elm-mode #'run-elm-interactive))


(def-package! flycheck-elm
  :when (featurep! :feature syntax-checker)
  :after elm-mode
  :hook (flycheck-mode . flycheck-elm-setup))

{'fraction_non_alphanumeric': 0.18930957683741648, 'fraction_numerical': 0.0, 'mean_word_length': 4.196531791907514, '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': '6784390', 'n_tokens_mistral': 358, 'n_tokens_neox': 353, 'n_words': 70}