<commit_before>(defconst mfa-editorconfig-packages '(editorconfig))

(defun mfa-editorconfig/init-editorconfig ()
  (use-package editorconfig
    :config
    (add-to-list 'edconf-custom-hooks
                 '(lambda (props)
                    (maphash (lambda (key value)
                               (progn
                                 ;; undo require-final-newline to get compatible with ethan-wspace
                                 ;; should probably be moved to ethan-wspace layer
                                 (when (eq 'insert_final_newline key)
                                   (setq require-final-newline nil
                                         mode-require-final-newline nil))
                                 (message "editorconfig set %s to %s" key value)))
                             props)))))<commit_msg>Remove references to ethan-wspace in editorconfig-mode config<commit_after>(defconst mfa-editorconfig-packages '(editorconfig))

(defun mfa-editorconfig/init-editorconfig ()
  (use-package editorconfig
    :diminish
    :init
    (editorconfig-mode)
    :config
    (progn
      (spacemacs|hide-lighter editorconfig-mode)
      (defvar mfa/edconf-verbose nil)
      (add-to-list 'edconf-custom-hooks
                   '(lambda (props)
                      (maphash (lambda (key value)
                                 (when mfa/edconf-verbose
                                   (message "editorconfig set %s to %s" key value)))
                               props))))))
{'fraction_non_alphanumeric': 0.08862433862433862, 'fraction_numerical': 0.0, 'mean_word_length': 1.4054054054054055, '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': 10, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4124004', 'n_tokens_mistral': 385, 'n_tokens_neox': 376, 'n_words': 90}